[sr-dev] Corelog and debug
Daniel-Constantin Mierla
miconda at gmail.com
Mon Nov 19 10:59:45 CET 2012
Hello,
corelog is just to be able to control the printing of several error
messages that were annoying.
What can be tried now is to send xlog messages to a dedicated facility
and direct that to a special file in syslog.
Cheers,
Daniel
On 11/15/12 10:01 AM, Olle E. Johansson wrote:
> Hi!
>
> I would like to silence the debugging from Kamailio while still have my own xlog("L_DBG", ""); being sent to syslog.
>
> The corelog config parameter seems to exist to limit what the kamailio server puts in syslog, while debug is valid for both core and my script logs.
>
> If I set corelog to -1 and debug to 3, I would expect to get no core L_DBG messages in syslog, but it is full with it...
>
> Is this because corelog is not fully implemented across Kamailio or are my assumptions wrong?
>
> The corelog documentation in the cookbook says that the corelog is used to print "some log messages". Would it be worth the effort to make this kamailio-wide?
>
> /O
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
More information about the sr-dev
mailing list