[sr-dev] git:master:0b2942e1: benchmark: use INFO log level for timer registration (related to GH #3150)

Henning Westerholt hw at gilawa.com
Mon Jun 20 19:20:23 CEST 2022


Module: kamailio
Branch: master
Commit: 0b2942e1dfe6cd84f97d62f6b4fccc86e5802eff
URL: https://github.com/kamailio/kamailio/commit/0b2942e1dfe6cd84f97d62f6b4fccc86e5802eff

Author: Henning Westerholt <hw at gilawa.com>
Committer: Henning Westerholt <hw at gilawa.com>
Date: 2022-06-20T17:19:55Z

benchmark: use INFO log level for timer registration (related to GH #3150)

---

Modified: src/modules/benchmark/benchmark.c

---

Diff:  https://github.com/kamailio/kamailio/commit/0b2942e1dfe6cd84f97d62f6b4fccc86e5802eff.diff
Patch: https://github.com/kamailio/kamailio/commit/0b2942e1dfe6cd84f97d62f6b4fccc86e5802eff.patch

---

diff --git a/src/modules/benchmark/benchmark.c b/src/modules/benchmark/benchmark.c
index fb60513f45a..a1d5f63ef0e 100644
--- a/src/modules/benchmark/benchmark.c
+++ b/src/modules/benchmark/benchmark.c
@@ -474,7 +474,7 @@ int bm_register_timer_param(modparam_t type, void* val)
 		LM_ERR("cannot find timer [%s]\n", (char*)val);
 		return -1;
 	}
-	LM_ERR("timer [%s] registered: %u\n", (char*)val, tid);
+	LM_INFO("timer [%s] registered: %u\n", (char*)val, tid);
 	return 0;
 }
 




More information about the sr-dev mailing list