Daniel, thank you, this is help me, all works fine!

Best regards, Kirill Ushakov.


2012/10/3 Daniel-Constantin Mierla <miconda@gmail.com>
Hello,

kamctl start redirects the sdtout and stderr to /dev/null

You better install the init.d script for centos and use it instead of kamctl:
http://kb.asipto.com/kamailio:install:3.3.x-from-git-centos5x#initd_script

Or, if you installed from rpm, the script should be there.

Cheers,
Daniel


On 10/1/12 2:03 PM, Nord7 wrote:
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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu



--
С уважением, Ушаков Кирилл Юрьевич.