Module: kamailio
Branch: 5.1
Commit: 03aa0b7340dd9b752502f765885eff1f08ea41e2
URL:
https://github.com/kamailio/kamailio/commit/03aa0b7340dd9b752502f765885eff1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-02-28T11:17:57+01:00
registrar: downgraded some warning messages at startup
(cherry picked from commit ceff642b25f8b464515446ed696da43c1f638d21)
---
Modified: src/modules/registrar/registrar.c
---
Diff:
https://github.com/kamailio/kamailio/commit/03aa0b7340dd9b752502f765885eff1…
Patch:
https://github.com/kamailio/kamailio/commit/03aa0b7340dd9b752502f765885eff1…
---
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;
}