<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Regarding the log levels, the doc of the module was out of sync with
    the source code values. I pushed an update to the docs.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 03/11/14 23:12, bob sacamano wrote:<br>
    <blockquote cite="mid:SNT148-W7422BF1074511905FB4953CD990@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">thank you the change made things start to work. <br>
        <br>
        Out of curiosity why was it necessary to change the log level to
        "1" according to the module webpage 1 is for warning messages. <br>
        in my log file they show up as<br>
        <br>
            NOTICE: benchmark [benchmark.c:351]: _bm_log_timer():
        benchmark (timer test [0]): 1041 [ msgs/total/min/max/avg - LR:
        100/107481/694/1830/1074.810000 | GB:
        100/107481/694/1830/1074.810000]<br>
        <br>
        if i set the log level as 2 for 2 - L_NOTICE<br>
        INFO: benchmark [benchmark.c:351]: _bm_log_timer(): benchmark
        (timer grr [0]): 960 [ msgs/total/min/max/avg - LR:
        100/96361/835/1265/963.610000 | GB:
        1000/982959/664/3033/982.959000]<br>
        <br>
        for any one else trying i also had to increase the allowable
        size of log files and the amount of rotate files<br>
        <br>
        <div>
          <hr id="stopSpelling">Date: Mon, 3 Nov 2014 11:38:15 +0100<br>
          From: <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
          To: <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
          Subject: Re: [SR-Users] benchmark module<br>
          <br>
          Hello,<br>
          <br>
          <div class="ecxmoz-cite-prefix">On 03/11/14 04:25, bob
            sacamano wrote:<br>
          </div>
          <blockquote
            cite="mid:SNT148-W343EEA182CD727A2ADA049CD990@phx.gbl">
            <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
            <div dir="ltr">hello, i was wondering where does this module
              write the logs? Nothing shows up in my syslog. If i
              replace the benchmark parts in the route with xlog for
              example xlog( "L_INFO", "$Ts " );          this shows up
              fine in syslog<br>
              <br>
               heres what  u have in my config file:<br>
              <br>
              modparam("benchmark", "enable", 1)<br>
              modparam("benchmark", "granularity", 100)<br>
              modparam("benchmark", "loglevel", 3)<br>
              <br>
               if(is_method("REGISTER"))<br>
                      {<br>
              bm_start_timer("test");<br>
                            save("location");<br>
              bm_log_timer("test");<br>
                              exit;<br>
                      }<br>
              <br>
              <br>
              I have been searching but cant find any info on it </div>
          </blockquote>
          you have:<br>
          <br>
          modparam("benchmark", "loglevel", 3)<br>
          <br>
          Set that to lower value, like:<br>
          <br>
          modparam("benchmark", "loglevel", 1)<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Nov 24-27, Berlin - <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
          <br>
          _______________________________________________
          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></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 Advanced Training, Nov 24-27, Berlin - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>