<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I am a bit confused now. sipcapture role is to store the SIP
    signaling messages in database for the purpose of later analysis --
    you can export pcap from the database later.<br>
    <br>
    What is the obsolete logging system you think about?<br>
    <br>
    If you look to log custom info messages, then see the xlog module:<br>
    <br>
    * <a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/3.3.x/modules_k/xlog.html">http://kamailio.org/docs/modules/3.3.x/modules_k/xlog.html</a><br>
    <br>
    You can print your own message to syslog (or stderr), in the format
    you wish.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 6/12/12 11:54 AM, Konstantin M.
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEYtTzeshCFtShzyq8cZTZ6+bVjRwwDPF6mZzGjveaJkXXMM0g@mail.gmail.com"
      type="cite">Hello Daniel,<br>
      <br>
      No I don't want to store in pcap format, I have it already.<br>
      I would like to have a text logs instead of database.<br>
      <br>
      About log format, I would like to have a functionality like
      log4cpp, for example:<br>
      <br>
      # Call Logging<br>
      log4cplus.appender.CALL_LOG_APPENDER=log4cplus::NullAppender<br>
      log4cplus.appender.CALL_LOG_APPENDER.Directory=logs/call-logs<br>
      log4cplus.appender.CALL_LOG_APPENDER.ImmediateFlush=true<br>
log4cplus.appender.CALL_LOG_APPENDER.layout=log4cplus::PatternLayout<br>
      log4cplus.appender.CALL_LOG_APPENDER.layout.ConversionPattern=%D{%Y-%m-%d
      %H:%M:%S:%%q} [%t] %p - %c : %m%n<br>
      <br>
      <br>
      I'm a very curious why we still have so absolete logging system ?
      There are too many cute logging frameworks.<br>
      Why we don't switch to some soft of log4c or log4cpp ?<br>
      <br>
      <br>
      <div class="gmail_quote">2012/6/12 Daniel-Constantin Mierla <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,
          <div class="im"><br>
            <br>
            On 6/9/12 8:59 PM, Konstantin M. wrote:<br>
            <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              Hello,<br>
              <br>
              Is it possible to log SIP sessions using sipcapture module
              to log files by log format instead of database ?<br>
            </blockquote>
            <br>
          </div>
          what do you mean by log format?<br>
          <br>
          If you just want to store pure pcap files, then you can use
          tools such as ngrep, wireshark/tshark.<br>
          <br>
          Cheers,<br>
          Daniel<span class="HOEnZb"><font color="#888888"><br>
              <br>
              -- <br>
              Daniel-Constantin Mierla - <a moz-do-not-send="true"
                href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
              <a moz-do-not-send="true"
                href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a>
              - <a moz-do-not-send="true"
                href="http://www.linkedin.com/in/miconda"
                target="_blank">http://www.linkedin.com/in/miconda</a><br>
              Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012
              - <a moz-do-not-send="true"
                href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a><br>
              Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012
              - <a moz-do-not-send="true"
                href="http://asipto.com/u/kpw" target="_blank">http://asipto.com/u/kpw</a><br>
              <br>
              <br>
              <br>
            </font></span></blockquote>
      </div>
      <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>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
    <br>
    <br>
  </body>
</html>