[SR-Users] Kamailio log file empty

Евгений Голей goley_ev_sp at mail.ru
Wed Jan 24 18:38:18 CET 2018


Hi,
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 
*. *; Auth, authpriv.none, local0.none - / var / log / syslog

The separator must be ";"

rsyslog.conf

*.info;mail.none;authpriv.none;cron.none;local0.none;local1.none;local3.none                /var/log/messages






















local0.*        /var/log/kamailio/kamailio.log

kamailio.cfg

debug=2
log_stderror=no
log_facility=LOG_LOCAL0  



>Hi,
>
>My kamailio.log file is empty, following is my configuration:
>In Kamailio.cfg-
>
>log_facility=LOG_LOCAL0
>
>#!ifdef WITH_DEBUG
>debug=4
>log_stderror=yes
>#!else
>debug=3
>log_stderror=no
>#!endif
>
>
>Inside rsyslog.conf
>
># don't log messages with LOG_LOCAL0 in /var/log/syslog anymore
>*.*;auth,authpriv.none,local0.none              -/var/log/syslog
>
>#
># log messages with LOG_LOCAL0 in /var/log/kamailio.log
>local0.*                        -/var/log/kamailio.log
>
>User has all the privileges to write in log file.
>
>Regards,
>Ashutosh Chaubey 
>
>
>_______________________________________________
>Kamailio (SER) - Users Mailing List
>sr-users at lists.kamailio.org
>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180124/02ad3cef/attachment.html>


More information about the sr-users mailing list