<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 6/12/12 9:07 PM, Konstantin M.
      wrote:<br>
    </div>
    <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>
        </div>
      </div>
    </blockquote>
    <br>
    all the db modules implementing SRDB1 API can be used (mysql,
    postgres, unixodbc, flatstore, dbtext, sqlite, I guess casandra). I
    don't see any really benefits of flat databases over sql databases,
    in this case where searching on various keys is quite used.<br>
    <br>
    <br>
    <blockquote
cite="mid:CAEYtTzf4qC4NeXn9VoaEud5xfhdW5bA-=tNc_QPfqK57rKpoMQ@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div>&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>
        </div>
      </div>
    </blockquote>
    <br>
    Have in mind that this project started more than 10 years ago, some
    decisions where made long time ago and people were happy with that
    none contributed alternatives. In other cases, you can see many
    options for more or less same feature.<br>
    <br>
    I don't recall any other discussion about considering syslog no
    longer enough. But the beauty of open source is that anyone can
    contribute and we have a good reputation of being open in accepting
    the good ones. If it brings better logging system for you, might be
    the time to come on board and code a framework that will allow to
    change the logging system as desired.<br>
    <br>
    Syslog will have to stay as an option, as one of the targets is
    portability, many running kamailio on embedded systems or there are
    very old deployments still in place, as well as people having
    monitoring tools based on current logging model. But if you can make
    it possible to decide which logging system to use, I can bet the
    contribution will be accepted.<br>
    <br>
    Cheers,<br>
    Daniel
    <blockquote
cite="mid:CAEYtTzf4qC4NeXn9VoaEud5xfhdW5bA-=tNc_QPfqK57rKpoMQ@mail.gmail.com"
      type="cite">
    </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>