[sr-dev] Corelog and debug
Olle E. Johansson
oej at edvina.net
Mon Nov 19 11:16:21 CET 2012
19 nov 2012 kl. 10:59 skrev Daniel-Constantin Mierla <miconda at gmail.com>:
> Hello,
>
> corelog is just to be able to control the printing of several error messages that were annoying.
I found it used in one place in the source code. :-)
>
> What can be tried now is to send xlog messages to a dedicated facility and direct that to a special file in syslog.
But the core "debug" variable will still be used to select the messages to send to this facility, right?
/O
>
> 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