<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Konstantin,<br>
    <br>
    what do you mean in "huge data" ? Currently you can easy capture 3K
    m/s on the middle size server.<br>
    <br>
    anyway, if you want to save the sipcapture data to the plain file,
    just change DB type.<br>
    <br>
    Wbr,<br>
    Alexandr<br>
    <br>
    6/12/2012 9:07 PM, Konstantin M. wrote:
    <blockquote
cite="mid:CAEYtTzf4qC4NeXn9VoaEud5xfhdW5bA-=tNc_QPfqK57rKpoMQ@mail.gmail.com"
      type="cite">Hello Daniel,<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">
          <div 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>
          </div>
        </blockquote>
        <div><br>
          Well, I don't have enough experience with sipcapture module
          but (maybe I'm wrong) I don't think it is a good idea to store
          so huge data in mysql in high loading environment.<br>
          Rather that I would suggest to keep them in some flat
          databases, like mongo, redis, kassandra, etc... <br>
          Eventually, by looking to the sources, I don't think there is
          another way except mysql...<br>
          &nbsp;</div>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> <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 moz-do-not-send="true"
              href="http://kamailio.org/docs/modules/3.3.x/modules_k/xlog.html"
              target="_blank">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>
          </div>
        </blockquote>
        <div><br>
          Yes, I'm using syslog but personally it's a backward way. <br>
          Nowadays there is a lot of logging frameworks. I think that,
          unofficial, log4XXXX (where XXXX - one of c, cpp, java,
          python, etc) already a standard of <br>
          logging system.<br>
          When using syslog/logrotate - the only one way to modify a
          root settings, no way to configure only userland part by
          configuring a logging strategy inside application<br>
          like a many software allows.<br>
          <br>
          &nbsp;</div>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Cheers,<br>
            Daniel
            <div>
              <div class="h5"><br>
                <br>
                <div>On 6/12/12 11:54 AM, Konstantin M. wrote:<br>
                </div>
              </div>
            </div>
            <blockquote type="cite">
              <div>
                <div class="h5">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><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><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></fieldset>
                  <br>
                </div>
              </div>
              <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
            </blockquote>
            <div class="im"> <br>
              <pre cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<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>
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>
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></pre>
              <br>
              <br>
            </div>
          </div>
        </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>
  </body>
</html>