Browse code

keepalive: removed function name from log messages

Daniel-Constantin Mierla authored on 31/08/2020 10:15:00
Showing 1 changed files
... ...
@@ -61,7 +61,7 @@ ticks_t ka_check_timer(ticks_t ticks, struct timer_ln* tl, void* param)
61 61
 
62 62
 	ka_dest = (ka_dest_t *)param;
63 63
 
64
-    LM_DBG("ka_check_timer dest:%.*s\n", ka_dest->uri.len, ka_dest->uri.s);
64
+    LM_DBG("dest: %.*s\n", ka_dest->uri.len, ka_dest->uri.s);
65 65
 
66 66
     if(ka_counter_del > 0 && ka_dest->counter > ka_counter_del) {
67 67
         return (ticks_t)(0); /* stops the timer */
... ...
@@ -104,7 +104,7 @@ static void ka_options_callback(
104 104
 
105 105
 	uri.s = t->to.s + 5;
106 106
 	uri.len = t->to.len - 8;
107
-	LM_DBG("OPTIONS-Request was finished with code %d (to %.*s)\n", ps->code,
107
+	LM_DBG("OPTIONS request was finished with code %d (to %.*s)\n", ps->code,
108 108
 			ka_dest->uri.len, ka_dest->uri.s); //uri.len, uri.s);
109 109
 
110 110
 
... ...
@@ -149,7 +149,7 @@ static void ka_run_route(sip_msg_t *msg, str *uri, char *route)
149 149
 		return;
150 150
 	}
151 151
 
152
-	LM_DBG("ka_run_route event_route[%s]\n", route);
152
+	LM_DBG("run event_route[%s]\n", route);
153 153
 
154 154
 	rt = route_get(&event_rt, route);
155 155
 	if(rt < 0 || event_rt.rlist[rt] == NULL) {