[SR-Users] Debug xmpp module with kamailio 3.0.4

Robert Verspuy robert at exa-omicron.nl
Mon Oct 25 13:25:14 CEST 2010


On 10/25/2010 12:31 PM, Huy Nguyen wrote:
> log_facility=LOG_LOCAL0
>
> How can I check all LM_DBG logs in some files as xmpp.c, 
> xmpp_component.c .... to view the registration processing of kamailio 
> to local jabberd s erver ?
Huy,

In the default syslog.conf of centos you have a line:
> *.info;mail.none;authpriv.none;cron.none                /var/log/messages
Which only sends log level info and lower to /var/log/messages.

If you add a line:
> local0.*                                               
> -/var/log/kamailio.log

You will find all any debugging output of kamailio in /var/log/kamailio.log
Don't forget to restart syslog

Regards,
Robert Verspuy

-- 
*Exa-Omicron*
Patroonsweg 10
3892 DB Zeewolde
Tel.: 088-OMICRON (66 427 66)
http://www.exa-omicron.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101025/212c3516/attachment.htm>


More information about the sr-users mailing list