[sr-dev] git:master: modules_k/usrloc: Downgraded a WARN to INFO

Peter Dunkley peter.dunkley at crocodile-rcs.com
Mon Aug 13 16:47:07 CEST 2012


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

Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date:   Mon Aug 13 15:45:20 2012 +0100

modules_k/usrloc: Downgraded a WARN to INFO

- When Kamailio loads a contact binding whose socket is not local a
  warning is printed.  Unfortunately, this happens a lot on multi-server
  systems and it is not something to worry about.
- The end result is a huge number of warnings that swamps log messages
  relating to real problems.
- So downgrading to INFO.

---

 modules_k/usrloc/udomain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_k/usrloc/udomain.c b/modules_k/usrloc/udomain.c
index cf7807e..c676111 100644
--- a/modules_k/usrloc/udomain.c
+++ b/modules_k/usrloc/udomain.c
@@ -318,7 +318,7 @@ static inline ucontact_info_t* dbrow2info( db_val_t *vals, str *contact)
 		}
 		ci.sock = grep_sock_info( &host, (unsigned short)port, proto);
 		if (ci.sock==0) {
-			LM_WARN("non-local socket <%s>...ignoring\n", p);
+			LM_INFO("non-local socket <%s>...ignoring\n", p);
 		}
 	}
 




More information about the sr-dev mailing list