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 <ten...@zmonkey.org>
To: mark li <limar...@yahoo.com>; Kamailio (SER) - Users Mailing List
<sr-users@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 <limar...@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
_______________________________________________
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