From a11ebb7d0e3c5fe7e160a2679a21c7c00bb11e99 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 22 Jun 2016 18:41:40 +0200 Subject: [PATCH] log_custom: debug message before setting custom log function (cherry picked from commit 6c36b242f085367dd1d869bfbceb6454dcb2e006) --- modules/log_custom/log_custom_mod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/log_custom/log_custom_mod.c b/modules/log_custom/log_custom_mod.c index bc68b5622c6..7f61bcf1b81 100644 --- a/modules/log_custom/log_custom_mod.c +++ b/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;