[sr-dev] git:5.4:b1ce252f: keepalive: removed function name from log messages
Daniel-Constantin Mierla
miconda at gmail.com
Mon Aug 31 12:16:22 CEST 2020
Module: kamailio
Branch: 5.4
Commit: b1ce252f8090f66de290cec95dbb6e1762ee6bdf
URL: https://github.com/kamailio/kamailio/commit/b1ce252f8090f66de290cec95dbb6e1762ee6bdf
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-08-31T12:16:05+02:00
keepalive: removed function name from log messages
(cherry picked from commit 17d6a88090e2a67f5c0b06e6aae76d629595b37e)
---
Modified: src/modules/keepalive/keepalive_core.c
---
Diff: https://github.com/kamailio/kamailio/commit/b1ce252f8090f66de290cec95dbb6e1762ee6bdf.diff
Patch: https://github.com/kamailio/kamailio/commit/b1ce252f8090f66de290cec95dbb6e1762ee6bdf.patch
---
diff --git a/src/modules/keepalive/keepalive_core.c b/src/modules/keepalive/keepalive_core.c
index 36cf81aef1..00f40c46bf 100644
--- a/src/modules/keepalive/keepalive_core.c
+++ b/src/modules/keepalive/keepalive_core.c
@@ -61,7 +61,7 @@ ticks_t ka_check_timer(ticks_t ticks, struct timer_ln* tl, void* param)
ka_dest = (ka_dest_t *)param;
- LM_DBG("ka_check_timer dest:%.*s\n", ka_dest->uri.len, ka_dest->uri.s);
+ LM_DBG("dest: %.*s\n", ka_dest->uri.len, ka_dest->uri.s);
if(ka_counter_del > 0 && ka_dest->counter > ka_counter_del) {
return (ticks_t)(0); /* stops the timer */
@@ -104,7 +104,7 @@ static void ka_options_callback(
uri.s = t->to.s + 5;
uri.len = t->to.len - 8;
- LM_DBG("OPTIONS-Request was finished with code %d (to %.*s)\n", ps->code,
+ LM_DBG("OPTIONS request was finished with code %d (to %.*s)\n", ps->code,
ka_dest->uri.len, ka_dest->uri.s); //uri.len, uri.s);
@@ -149,7 +149,7 @@ static void ka_run_route(sip_msg_t *msg, str *uri, char *route)
return;
}
- LM_DBG("ka_run_route event_route[%s]\n", route);
+ LM_DBG("run event_route[%s]\n", route);
rt = route_get(&event_rt, route);
if(rt < 0 || event_rt.rlist[rt] == NULL) {
More information about the sr-dev
mailing list