[sr-dev] git:master: core: log message about slow timer printed now as warning

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 22 14:06:54 CET 2011


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Dec 22 14:06:08 2011 +0100

core: log message about slow timer printed now as warning

---

 timer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/timer.c b/timer.c
index 2f23f0f..205efa6 100644
--- a/timer.c
+++ b/timer.c
@@ -970,7 +970,7 @@ static void timer_handler()
 		if ((slow_idx_t)(*t_idx-*s_idx) < (SLOW_LISTS_NO-1U))
 			(*t_idx)++;
 		else{
-			LOG(L_ERR, "ERROR: slow timer too slow: overflow (%d - %d = %d)\n",
+			LOG(L_WARN, "slow timer too slow: overflow (%d - %d = %d)\n",
 					*t_idx, *s_idx, *t_idx-*s_idx);
 			/* trying to continue */
 		}




More information about the sr-dev mailing list