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 <oej(a)edvina.net
To: mark li <limark67(a)yahoo.com>om>; Kamailio (SER) - Users Mailing List
<sr-users(a)lists.sip-router.org>
Cc: Olle E Johansson <oej(a)edvina.net>
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 <limark67(a)yahoo.com> 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