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)
Thank you.
________________________________
From: Olle E. Johansson <[email protected]>
To: mark li <[email protected]>; Kamailio (SER) - Users Mailing List
<[email protected]>
Cc: Olle E Johansson <[email protected]>
Sent: Wednesday, March 26, 2014 4:59:35 PM
Subject: Re: [SR-Users] How to turn on debugging in kamailio?
On 26 Mar 2014, at 20:53, mark li <[email protected]> wrote:
is there a way to add debug statements in kamailio.cfg? I'd like to be able to
dump some of the variables and also see which path the calls are taking.
>
What you really want is to add your own debugging using the xlog module. Look
at the documentation for that module, the example configuration for Kamailio
and the power of pseudovariables in the pseudovariable cookbok on the
documentation web site.
/O_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users