Module: kamailio
Branch: master
Commit: ceff642b25f8b464515446ed696da43c1f638d21
URL:
https://github.com/kamailio/kamailio/commit/ceff642b25f8b464515446ed696da43…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-02-28T11:16:02+01:00
registrar: downgraded some warning messages at startup
---
Modified: src/modules/registrar/registrar.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ceff642b25f8b464515446ed696da43…
Patch:
https://github.com/kamailio/kamailio/commit/ceff642b25f8b464515446ed696da43…
---
diff --git a/src/modules/registrar/registrar.c b/src/modules/registrar/registrar.c
index 4a8d245ac2..35ea204e0c 100644
--- a/src/modules/registrar/registrar.c
+++ b/src/modules/registrar/registrar.c
@@ -360,17 +360,17 @@ static int mod_init(void)
if (sock_hdr_name.s) {
if (sock_hdr_name.len==0 || sock_flag==-1) {
- LM_WARN("empty sock_hdr_name or sock_flag not set -> resetting\n");
+ LM_INFO("empty sock_hdr_name or sock_flag not set -> resetting\n");
sock_hdr_name.len = 0;
sock_flag = -1;
}
} else if (reg_xavp_cfg.s) {
if (reg_xavp_cfg.len == 0 || sock_flag == -1) {
- LM_WARN("empty reg_xavp_cfg or sock_flag not set -> resetting\n");
+ LM_DBG("empty reg_xavp_cfg or sock_flag not set -> resetting\n");
sock_flag = -1;
}
} else if (sock_flag!=-1) {
- LM_WARN("sock_flag defined but no sock_hdr_name or no reg_xavp_cfg -> resetting
flag\n");
+ LM_INFO("sock_flag defined but no sock_hdr_name or no reg_xavp_cfg -> resetting
flag\n");
sock_flag = -1;
}