[SR-Users] Kamailio - can't write any logs to file
Nord7
nordseven at gmail.com
Mon Oct 1 14:03:54 CEST 2012
Hello everyone.
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
--
Best regards, Kirill Ushakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121001/4f513751/attachment.htm>
More information about the sr-users
mailing list