<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>


<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<font style="" face="Arial">H</font><font style="" face="Arial">i Robert and list,<br><br>@Robert: thank you so much.<br><br>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&nbsp; from xmpp module (e.g xmpp.c, xmpp_component.c......). As the guide on xmpp page, i just can debug with xmpp_send_message</font><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Helvetica,Arial;"></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Helvetica,Arial;"></span></span> command, and i can't check whether kamailio was registered successful as the component of local jabberd server. How can check this ?<br><br>Thanks,<br>Huy Nguyen<br><font style="" color="#e36c09" face="Arial"><b><font style="font-size: 12pt;" color="#ff0000" size="3"><br><br></font></b></font><hr width="100%" size="2"><font style="" color="#e36c09" face="Arial"><b></b></font><hr width="100%" size="2"><i><a href="http://www.htk-inc.com/" style="color: rgb(42, 93, 176);" target="_blank">www.htk-inc.com</a><br></i><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span class="ecxApple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"><i><font style="" color="#1f497d"></font></i><br></span></span><font style="" face="Arial"><br></font><font style="" face="Arial"><br></font><br><br><br><br><hr id="stopSpelling">Date: Mon, 25 Oct 2010 13:25:14 +0200<br>From: robert@exa-omicron.nl<br>To: huy_quocnguyen@live.com<br>CC: sr-users@lists.sip-router.org<br>Subject: Re: [SR-Users] Debug xmpp module with kamailio 3.0.4<br><br>

  
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
    
  
  
    <br>
    On 10/25/2010 12:31 PM, Huy Nguyen wrote:
    <blockquote cite="mid:SNT143-w18506E33F4939F63C5E26D9E410@phx.gbl">
      <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
      <font style="" face="Arial">log_facility=LOG_LOCAL0<br>
      </font><br>
      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 ?<br>
    </blockquote>
    Huy,<br>
    <br>
    In the default syslog.conf of centos you have a line:<br>
    <blockquote>*.info;mail.none;authpriv.none;cron.none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      /var/log/messages<br>
    </blockquote>
    Which only sends log level info and lower to /var/log/messages.<br>
    <br>
    If you add a line:<br>
    <blockquote>local0.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      -/var/log/kamailio.log<br>
    </blockquote>
    <br>
    You will find all any debugging output of kamailio in
    /var/log/kamailio.log<br>
    Don't forget to restart syslog<br>
    <br>
    Regards,<br>
    Robert Verspuy<br>
    <br>
    <div class="ecxmoz-signature">-- <br>
      <b>Exa-Omicron</b><br>
      Patroonsweg 10<br>
      3892 DB Zeewolde<br>
      Tel.: 088-OMICRON (66 427 66)<br>
      <a class="ecxmoz-txt-link-freetext" href="http://www.exa-omicron.nl" target="_blank">http://www.exa-omicron.nl</a></div>                                               </body>
</html>