<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    thanks for the patch, it will be committed once the code is unfrozen
    for testing v3.3.0. It might be good to add it to the tracker, to be
    sure it will not be lost.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 5/14/12 11:57 PM, Konstantin M.
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEYtTzcvQh8mE_wUVx27O+nRWKPVjC4iVXGmjaUMSjX_BRS3xg@mail.gmail.com"
      type="cite">Hi,<br>
      <br>
      As I see, app_python module has almost no logging functionality
      except LM_ERR.<br>
      As a python developer and user I need a more python functionality.<br>
      did a patch (attached) against kamailio-3.2.3 for adding an
      additional logging and I'd like to share it.<br>
      <br>
      Testcase:<br>
      &nbsp;0(5403) INFO: app_python [python_iface.c:41]: Loggers.py:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      LM_GEN1: msg: Test Message<br>
      &nbsp;0(5403) WARNING: app_python [python_iface.c:60]: Loggers.py:&nbsp;&nbsp;&nbsp;&nbsp;
      LM_GEN2: msg: Test Message<br>
      &nbsp;0(5403) ALERT: app_python [python_iface.c:76]: Loggers.py:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      LM_ALERT: msg: Test Message<br>
      &nbsp;0(5403) CRITICAL: app_python [python_iface.c:92]: Loggers.py:&nbsp;&nbsp;&nbsp;
      LM_CRIT: msg: Test Message<br>
      &nbsp;0(5403) ERROR: app_python [python_iface.c:108]: Loggers.py:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      LM_ERR: msg: Test Message<br>
      &nbsp;0(5403) WARNING: app_python [python_iface.c:124]: Loggers.py:&nbsp;&nbsp;&nbsp;
      LM_WARN: msg: Test Message<br>
      &nbsp;0(5403) NOTICE: app_python [python_iface.c:140]: Loggers.py:&nbsp;&nbsp;
      LM_NOTICE: msg: Test Message<br>
      &nbsp;0(5403) INFO: app_python [python_iface.c:156]: Loggers.py:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      LM_INFO: msg: Test Message<br>
      <br>
      <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://www.asipto.com">http://www.asipto.com</a>
<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></pre>
    <br>
    <br>
  </body>
</html>