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