On Thu, Mar 27, 2014 at 2:31 PM, mark li <limark67@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