I have installed: CentOS6, Kamailio 3.3, rsyslogd
Part of my Kamailio config:
debug=9
log_stderror=yes
memdbg=9
memlog=9
log_facility=LOG_LOCAL0
loaded modules:
debugger.so
modparam("debugger", "cfgtrace", 1)
modparam("debugger", "log_facility", "LOG_LOCAL0")
modparam("debugger", "log_prefix",
"from-debugger-with-love:")
xlog.so
modparam("xlog", "buf_size", 8192)
modparam("xlog", "log_facility", "LOG_LOCAL0")
rsyslog.conf
default config with two added rows:
# Save log messages with LOG_LOCAL0 in /var/log/kamailio
local0.* /var/log/kamailio
rsyslogd and kamailio restarted.
When i run command "kamailio -ddddddd" i see debug all my
xlog("L_INFO","blabla\n") or
xlog("LOG_LOCAL0","L_INFO","blabla\n" ); messages.
When i run "kamctl start" i don't have any logs from
kamailio in my system.
I'm stuck, any suggestions, will be helpful
--