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

Corey Edwards tensai at zmonkey.org
Thu Mar 27 22:53:16 CET 2014


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/bf401a20/attachment.html>


More information about the sr-users mailing list