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
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
Hello,
have you restarted the syslog daemon?
Cheers, Daniel
On 24.01.18 12:21, Ashutosh chaubey wrote: