<HTML><BODY>Hi,<br><pre id="tw-target-text" class="tw-data-text tw-ta tw-text-small" style="text-align: left; height: 168px;" dir="ltr" data-placeholder="Перевод" data-fulltext="" data-mce-style="text-align: left; height: 168px;"><span lang="en">Restart rsyslog and see what is displayed in /var/log/syslog because maybe there are errors in /etc/rsyslog.conf.
For example, in the line <br>*. *; Auth, authpriv.none, local0.none - / var / log / syslog
<br>The separator must be ";"<br></span><br>rsyslog.conf<br><br>*.info;mail.none;authpriv.none;cron.none;local0.none;local1.none;local3.none /var/log/messages<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></pre>local0.* /var/log/kamailio/kamailio.log<br><br>kamailio.cfg<br><br><strong>debug=2<br>log_stderror=no<br>log_facility=LOG_LOCAL0 </strong><br><br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">Hi,</blockquote><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;"><div id=""><div class="js-helper js-readmsg-msg"><div><div id="style_15167929930000000540_BODY"><div class="class_1516825421"><div dir="ltr"><div><br></div><div>My kamailio.log file is empty, following is my configuration:</div><div>In Kamailio.cfg-</div><div><br></div><div>log_facility=LOG_LOCAL0<br></div><div><div><br></div><div>#!ifdef WITH_DEBUG</div><div>debug=4</div><div>log_stderror=yes</div><div>#!else</div><div>debug=3</div><div>log_stderror=no</div><div>#!endif</div></div><div><br></div><div><br></div><div>Inside rsyslog.conf</div><div><br></div><div><div># don't log messages with LOG_LOCAL0 in /var/log/syslog anymore</div><div>*.*;auth,authpriv.none,local0.none -/var/log/syslog</div><div><br></div><div>#</div><div># log messages with LOG_LOCAL0 in /var/log/kamailio.log</div><div>local0.* -/var/log/kamailio.log</div></div><div><br></div><div>User has all the privileges to write in log file.</div><div><br></div><div>Regards,</div><div>Ashutosh Chaubey </div><div><br></div><div><br></div></div></div></div><div>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br></div></div></div></div></blockquote>
<br>
<br></BODY></HTML>