Hi,
Maybe the overall log_level prevents the logging, see
https://opensips.org/html/docs/modules/2.4.x/benchmark.html#param_loglevel
Be sure that the benchmark log_level is below (or equal) to the overall
log_level
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 5/30/23 6:22 PM, Li Cai wrote:
Hi,
I’m trying to use Benchmark tool to investigate a database performance
issue on OpenSIPs v2.4.6, but no matter what the configurations I
tried, I can’t see the log printed out by Benchmark.
Here are the scripts I’m using:
loadmodule "benchmark.so"
modparam("benchmark", "enable", 1)
modparam("benchmark", "granularity", 1) # To make the benchmark
enabled for every call
…..
Route {
……
bm_start_timer("test");
cache_store("sql:1st-mysql", "$tU-$fU-ru", "$ru", 43200);
bm_log_timer("test");
cache_store("sql:1st-mysql", "$tU-$fU-tu", "$tu", 43200);
bm_log_timer("test");
……..
}
Any idea will be highly appreciated.
Thanks,
Li
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users