[sr-dev] git:master:6c36b242: log_custom: debug message before setting custom log function

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 22 18:47:41 CEST 2016


Module: kamailio
Branch: master
Commit: 6c36b242f085367dd1d869bfbceb6454dcb2e006
URL: https://github.com/kamailio/kamailio/commit/6c36b242f085367dd1d869bfbceb6454dcb2e006

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/6c36b242f085367dd1d869bfbceb6454dcb2e006.diff
Patch: https://github.com/kamailio/kamailio/commit/6c36b242f085367dd1d869bfbceb6454dcb2e006.patch

---

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;
 




More information about the sr-dev mailing list