Browse code

registrar: downgraded some warning messages at startup

Daniel-Constantin Mierla authored on 28/02/2018 10:16:02
Showing 1 changed files
... ...
@@ -360,17 +360,17 @@ static int mod_init(void)
360 360
 
361 361
 	if (sock_hdr_name.s) {
362 362
 		if (sock_hdr_name.len==0 || sock_flag==-1) {
363
-			LM_WARN("empty sock_hdr_name or sock_flag not set -> resetting\n");
363
+			LM_INFO("empty sock_hdr_name or sock_flag not set -> resetting\n");
364 364
 			sock_hdr_name.len = 0;
365 365
 			sock_flag = -1;
366 366
 		}
367 367
 	} else if (reg_xavp_cfg.s) {
368 368
 		if (reg_xavp_cfg.len == 0 || sock_flag == -1) {
369
-			LM_WARN("empty reg_xavp_cfg or sock_flag not set -> resetting\n");
369
+			LM_DBG("empty reg_xavp_cfg or sock_flag not set -> resetting\n");
370 370
 			sock_flag = -1;
371 371
 		}
372 372
 	} else if (sock_flag!=-1) {
373
-		LM_WARN("sock_flag defined but no sock_hdr_name or no reg_xavp_cfg -> resetting flag\n");
373
+		LM_INFO("sock_flag defined but no sock_hdr_name or no reg_xavp_cfg -> resetting flag\n");
374 374
 		sock_flag = -1;
375 375
 	}
376 376