浏览代码

log_custom: debug message before setting custom log function

Daniel-Constantin Mierla 9 年之前
父节点
当前提交
6c36b242f0
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      modules/log_custom/log_custom_mod.c

+ 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)
 {
@@ -142,6 +142,7 @@ static int child_init(int rank)
 			return -1;
 		}
 	}
+	LM_DBG("setting udp-send custom logging function\n");
 	km_log_func_set(&_lc_core_log_udp);
 	_lc_log_udp = 1;