Selaa lähdekoodia

siptrace: turn warn into info message about loading dlg api

- dialog tracking is optional
Daniel-Constantin Mierla 6 vuotta sitten
vanhempi
commit
ce19d9212f
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2 3
      src/modules/siptrace/siptrace.c

+ 2 - 3
src/modules/siptrace/siptrace.c

@@ -335,9 +335,8 @@ static int mod_init(void)
 	}
 
 	if (load_dlg_api(&dlgb) < 0) {
-		LM_WARN("can't load dlg api. Will not install dialog callbacks.\n");
-	}
-	else {
+		LM_INFO("can't load dlg api. Will not install dialog callbacks.\n");
+	} else {
 		if (dlgb.register_dlgcb(NULL, DLGCB_CREATED, trace_dialog, NULL, NULL) != 0) {
 			LM_ERR("failed to register dialog callbacks! Tracing dialogs won't be available\n");
 		}