[SR-Users] logfile is empty

Hermann Norpois hnorpois at gmail.com
Wed Oct 26 21:27:04 CEST 2016


 my logfile  /var/log/kamailio/kamailio.log is empty.


1)
/etc/rsyslog.d/kamailio.cfg exists with the entry:
log_facility=LOG_LOCAL0

2)
/etc/rsyslog.con has the entry:
#
# 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
#

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

Alternatively I edited /etc/rsyslog.d/kamailio.conf that should be used by
rsylog.conf

3)
/etc/rsyslog.d/kamailio.conf exists with the entry:
local0.*                        -/var/log/kamailio/kamailio.log


I am working with ubuntu on an amazon instance.


Why is the logfile empty?

Thanks Herman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161026/7eb2f323/attachment.html>


More information about the sr-users mailing list