Module: kamailio
Branch: master
Commit: 6c36b242f085367dd1d869bfbceb6454dcb2e006
URL:
https://github.com/kamailio/kamailio/commit/6c36b242f085367dd1d869bfbceb645…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-06-22T18:41:40+02:00
log_custom: debug message before setting custom log function
---
Modified: modules/log_custom/log_custom_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6c36b242f085367dd1d869bfbceb645…
Patch:
https://github.com/kamailio/kamailio/commit/6c36b242f085367dd1d869bfbceb645…
---
diff --git a/modules/log_custom/log_custom_mod.c b/modules/log_custom/log_custom_mod.c
index bc68b56..7f61bcf 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;