<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF">
Have You tried use:<br>
<div>xlog("L_INFO","~~~~~~~~~ xlog - route~~~~~~~~~~~~~~~~~~~~\n");</div>
<div style="font-size:12.8000001907349px"><br>
</div>
instead of:<br>
<br>
<div>xlog("L_ALERT","~~~~~~~~~ xlog - route~~~~~~~~~~~~~~~~~~~~\n");</div>
<div style="font-size:12.8000001907349px"><br>
<br>
cheers<br>
<br>
Konrad<br>
</div>
<br>
<div class="moz-cite-prefix">On 05/20/2015 02:48 PM, Nahum Nir wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><span style="font-size:12.8000001907349px">Hi All,</span>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">I am using Kamailio 4.0.3 and can't logs.</div>
<div style="font-size:12.8000001907349px">.cfg:</div>
<div style="font-size:12.8000001907349px">
<div>#!define WITH_DEBUG</div>
<div>### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR</div>
<div>#!ifdef WITH_DEBUG</div>
<div>debug=4</div>
<div>log_stderror=yes</div>
<div>#!else</div>
<div>debug=2</div>
<div>log_stderror=no</div>
<div>#!endif</div>
<div><br>
</div>
<div>memdbg=5</div>
<div>memlog=5</div>
<div><br>
</div>
<div>log_facility=LOG_LOCAL0</div>
</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">When the server starts there outputs about xlog:</div>
<div style="font-size:12.8000001907349px">
<div>0(20266) DEBUG: <core> [cfg.y:1791]: yyparse(): loading module xlog.so</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:499]: load_module(): load_module: module file not found </usr/local/lib/kamailio/modules_k/xlog.so></div>
<div> 0(20266) DEBUG: <core> [sr_module.c:522]: load_module(): load_module: module file not found </usr/local/lib/kamailio/modules_k/xlog/xlog.so></div>
<div> 0(20266) DEBUG: <core> [sr_module.c:564]: load_module(): load_module: trying to load </usr/lib64/kamailio/modules/xlog.so></div>
<div> 0(20266) DEBUG: <core> [sr_module.c:343]: register_module(): register PV from: xlog</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xlog> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xlog> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xlog> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xlog> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xlog> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xlog> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xdbg> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record(): find_export_record: found <xdbg> in module xlog [/usr/lib64/kamailio/modules/xlog.so]</div>
<div> 0(20268) DEBUG: <core> [sr_module.c:935]: init_mod(): DEBUG: init_mod: xlog</div>
<div> 0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()</div>
<div> 0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()</div>
<div> 0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()</div>
<div> 0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()</div>
<div> 0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()</div>
<div> 0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()</div>
</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">At the beginning of the  Main routing block I put:</div>
<div style="font-size:12.8000001907349px">
<div><br>
</div>
<div>log("~~~~~~~~~~~~route~~~~~~~~~~~~~~~~~~~~\n");</div>
<div>xdbg("~~~~~~~~~ xdbg - route~~~~~~~~~~~~~~~~~~~~\n");</div>
<div>xlog("L_ALERT","~~~~~~~~~ xlog - route~~~~~~~~~~~~~~~~~~~~\n");</div>
</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">But nothing is logging when I send INVITEs</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">Any help?</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">Thanks,</div>
<div style="font-size:12.8000001907349px">Nir</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
--<br>
<b>Konrad Rozycki</b><br>
<font size="small">Red Embedded <br>
</font>
<h5><font color="gray">
<p>This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message.</p>
<p>You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender.</p>
<p>Red Embedded Design, Company Number 06688253 Registered in England: The Wave, 1 View Croft Road, Shipley, West Yorkshire, BD17 7DU</p>
</h5>
</font>
</body>
</html>