2
0
Эх сурвалжийг харах

log_custom: debug message before setting custom log function

Daniel-Constantin Mierla 9 жил өмнө
parent
commit
6c36b242f0

+ 2 - 1
modules/log_custom/log_custom_mod.c

@@ -126,7 +126,7 @@ static int mod_init(void)
 }
 }
 
 
 /**
 /**
- * @brief Initialize async module children
+ * @brief Initialize module children
  */
  */
 static int child_init(int rank)
 static int child_init(int rank)
 {
 {
@@ -142,6 +142,7 @@ static int child_init(int rank)
 			return -1;
 			return -1;
 		}
 		}
 	}
 	}
+	LM_DBG("setting udp-send custom logging function\n");
 	km_log_func_set(&_lc_core_log_udp);
 	km_log_func_set(&_lc_core_log_udp);
 	_lc_log_udp = 1;
 	_lc_log_udp = 1;