<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    what is the command you start kamailio with?<br>
    <br>
    Are those log messages you sent everything you see? Because it
    doesn't get to complete start.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 17/05/15 13:44, Nahum Nir wrote:<br>
    </div>
    <blockquote
cite="mid:CAJAEVsJTruBbViTqmkZJ2uxTTaWoA8xxN97vs8UL1S4WHyoPtA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I am using Kamailio 4.0.3 and can't logs.</div>
        <div>.cfg:</div>
        <div>
          <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><br>
        </div>
        <div>When the server starts there outputs about xlog:</div>
        <div>
          <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><br>
        </div>
        <div>At the beginning of the  Main routing block I put:</div>
        <div>
          <div><br>
          </div>
          <div>log("~~~~~~~~~~~~route~~~~~~~~~~~~~~~~~~~~\n");</div>
          <div>xdbg("~~~~~~~~~ xdbg - route~~~~~~~~~~~~~~~~~~~~\n");</div>
          <div>xlog("L_ALERT","~~~~~~~~~ xlog -
            route~~~~~~~~~~~~~~~~~~~~\n");</div>
        </div>
        <div><br>
        </div>
        <div>But nothing is logging when I send INVITEs</div>
        <div><br>
        </div>
        <div>Any help?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Nir</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>