<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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: miconda@gmail.com<br>To: sr-users@lists.sip-router.org<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 class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a 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 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
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</div>                                         </div></body>
</html>