[sr-dev] git:master: modules_k/dialog: Reduce log verbosity for list traversal of

Timo Reimann timo.reimann at 1und1.de
Thu Jun 24 15:07:46 CEST 2010


Module: sip-router
Branch: master
Commit: 0bf99eaf23b8c7041f4a9a017bb6483c5b5d9017
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0bf99eaf23b8c7041f4a9a017bb6483c5b5d9017

Author: Timo Reimann <timo.reimann at 1und1.de>
Committer: Timo Reimann <timo.reimann at 1und1.de>
Date:   Thu Jun 24 15:01:13 2010 +0200

modules_k/dialog: Reduce log verbosity for list traversal of
expired dialogs.

- Change logging of start/previous/next pointers from WARN to DBG
  when traversing the list of expired dialogs.

---

 modules_k/dialog/dlg_timer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules_k/dialog/dlg_timer.c b/modules_k/dialog/dlg_timer.c
index 5ab4672..03cc5b3 100644
--- a/modules_k/dialog/dlg_timer.c
+++ b/modules_k/dialog/dlg_timer.c
@@ -237,18 +237,18 @@ static inline struct dlg_tl* get_expired_dlgs(unsigned int time)
 
 	end = &d_timer->first;
 	tl = d_timer->first.next;
-	LM_WARN("start with tl=%p tl->prev=%p tl->next=%p (%d) at %d "
+	LM_DBG("start with tl=%p tl->prev=%p tl->next=%p (%d) at %d "
 		"and end with end=%p end->prev=%p end->next=%p\n",
 		tl,tl->prev,tl->next,tl->timeout,time,
 		end,end->prev,end->next);
 	while( tl!=end && tl->timeout <= time) {
-		LM_WARN("getting tl=%p tl->prev=%p tl->next=%p with %d\n",
+		LM_DBG("getting tl=%p tl->prev=%p tl->next=%p with %d\n",
 			tl,tl->prev,tl->next,tl->timeout);
 		tl->prev = 0;
 		tl->timeout = 0;
 		tl=tl->next;
 	}
-	LM_WARN("end with tl=%p tl->prev=%p tl->next=%p and d_timer->first.next->prev=%p\n",
+	LM_DBG("end with tl=%p tl->prev=%p tl->next=%p and d_timer->first.next->prev=%p\n",
 		tl,tl->prev,tl->next,d_timer->first.next->prev);
 
 	if (tl==end && d_timer->first.next->prev) {




More information about the sr-dev mailing list