[SR-Users] How to turn on debugging in kamailio?

mark li limark67 at yahoo.com
Fri Mar 28 01:45:28 CET 2014


yep, i do.  I have the following entries in my config: 
modparam("xlog", "log_facility", "LOG_DAEMON")

and closer to the top of the file i have 
log_facility=LOG_LOCAL0




________________________________
 From: Corey Edwards <tensai at zmonkey.org>
To: mark li <limark67 at yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org> 
Sent: Thursday, March 27, 2014 5:53:16 PM
Subject: Re: [SR-Users] How to turn on debugging in kamailio?
 


On Thu, Mar 27, 2014 at 2:31 PM, mark li <limark67 at yahoo.com> wrote:

Olle
>I've added some debug statements using the XLOG function like so: 
>
>xlog("L_INFO", "my custom message");
>
>but none of my debug statements appear in syslog.  I don't get any errors either when I restart kamailio. 
>any suggestion? 
>I am loading the module in kamailio.cfg... I see a line that says "loadmodule xlog.so"
>and i've also added a modparam for the log like so: 
>
>modparam("xlog", "buf_size", 8192)
>Do you have log_facaility set?

log_facility=LOG_LOCAL0


From there, I would suggest looking at your syslog configuration and verify that your chosen facility is routed to a file.

Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140327/1b8dbc5c/attachment.html>


More information about the sr-users mailing list