[sr-dev] git:master:1f292109: usrloc: change log level from info to dbg when socket is not local

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 22 10:25:00 CEST 2015


Module: kamailio
Branch: master
Commit: 1f2921097316925600573402793b5332a6535e7d
URL: https://github.com/kamailio/kamailio/commit/1f2921097316925600573402793b5332a6535e7d

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-04-15T11:16:01+02:00

usrloc: change log level from info to dbg when socket is not local

- common scenario when working with shared db, reducing the syslog
  thoughput
- based on a patch by Mickael Marrache

---

Modified: modules/usrloc/udomain.c

---

Diff:  https://github.com/kamailio/kamailio/commit/1f2921097316925600573402793b5332a6535e7d.diff
Patch: https://github.com/kamailio/kamailio/commit/1f2921097316925600573402793b5332a6535e7d.patch

---

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




More information about the sr-dev mailing list