Hi Robert and list, @Robert: thank you so much. After change some things as the guide of Robert, i can see more LM_DBG from other modules as: tm, core (msg_parser.c, t_lookup.c...... )...but what i need is the log from xmpp module (e.g xmpp.c, xmpp_component.c......). As the guide on xmpp page, i just can debug with xmpp_send_message command, and i can't check whether kamailio was registered successful as the component of local jabberd server. How can check this ? Thanks, Huy Nguyen www.htk-inc.com Date: Mon, 25 Oct 2010 13:25:14 +0200 From: rob...@exa-omicron.nl To: huy_quocngu...@live.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Debug xmpp module with kamailio 3.0.4 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
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users