Module: kamailio
Branch: master
Commit: 1f2921097316925600573402793b5332a6535e7d
URL:
https://github.com/kamailio/kamailio/commit/1f2921097316925600573402793b533…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/1f2921097316925600573402793b533…
Patch:
https://github.com/kamailio/kamailio/commit/1f2921097316925600573402793b533…
---
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);
}
}