<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">yep, i do.  I have the following entries in my config: <br>modparam("xlog", "log_facility", "LOG_DAEMON")<br><br>and closer to the top of the file i have <br>log_facility=LOG_LOCAL0<br><div><span><br></span></div><div><br></div>  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Corey Edwards <tensai@zmonkey.org><br> <b><span style="font-weight: bold;">To:</span></b> mark li <limark67@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span
 style="font-weight: bold;">Sent:</span></b> Thursday, March 27, 2014 5:53:16 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] How to turn on debugging in kamailio?<br> </font> </div> <div class="y_msg_container"><br><div id="yiv5864927282"><div><div dir="ltr"><div class="yiv5864927282gmail_extra"><div class="yiv5864927282yqt2303938222" id="yiv5864927282yqtfd80414"><div class="yiv5864927282gmail_quote">On Thu, Mar 27, 2014 at 2:31 PM, mark li <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:limark67@yahoo.com" target="_blank" href="mailto:limark67@yahoo.com">limark67@yahoo.com</a>></span> wrote:<br clear="none">
<blockquote class="yiv5864927282gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="font-size:10pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">
Olle<br clear="none">I've added some debug statements using the XLOG function like so: <br clear="none"><br clear="none">xlog("L_INFO", "my custom message");<br clear="none"><br clear="none">but none of my debug statements appear in syslog.  I don't get any errors either when I restart kamailio. <br clear="none">
any suggestion? <br clear="none">I am loading the module in kamailio.cfg... I see a line that says "loadmodule xlog.so"<br clear="none">and i've also added a modparam for the log like so: <br clear="none"><pre>modparam("xlog", "buf_size", 8192)<br clear="none">
</pre></div></div></blockquote></div></div>Do you have log_facaility set?<br clear="none"><br clear="none">log_facility=LOG_LOCAL0<br clear="none"><br clear="none"></div><div class="yiv5864927282gmail_extra">From there, I would suggest looking at your syslog configuration and verify that your chosen facility is routed to a file.<br clear="none">
<br clear="none">Corey<div class="yiv5864927282yqt2303938222" id="yiv5864927282yqtfd89820"><br clear="none"><br clear="none"></div></div></div></div></div><br><br></div> </div> </div>  </div></body></html>