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