[SR-Users] benchmark module

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 3 11:38:15 CET 2014


Hello,

On 03/11/14 04:25, bob sacamano wrote:
> 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
>
>  heres what  u have in my config file:
>
> modparam("benchmark", "enable", 1)
> modparam("benchmark", "granularity", 100)
> modparam("benchmark", "loglevel", 3)
>
>  if(is_method("REGISTER"))
>         {
> bm_start_timer("test");
>               save("location");
> bm_log_timer("test");
>                 exit;
>         }
>
>
> I have been searching but cant find any info on it
you have:

modparam("benchmark", "loglevel", 3)

Set that to lower value, like:

modparam("benchmark", "loglevel", 1)

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 24-27, Berlin - http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141103/dba3bdc1/attachment.html>


More information about the sr-users mailing list