[sr-dev] [kamailio/kamailio] Module development - Best place for "km_log_func_set" logging call (#1753)

Luis Martin Gil notifications at github.com
Tue Dec 4 14:15:13 CET 2018


When using the "km_log_func_set" to configure a customized Kamailio logging function:

- **log_custom** module is setting this [per child](https://github.com/kamailio/kamailio/blob/master/src/modules/log_custom/log_custom_mod.c#L99) in the **child_init** function.

- **log_systemd** module is setting this in the [mod_register](https://github.com/kamailio/kamailio/blob/master/src/modules/log_systemd/log_systemd_mod.c#L209) function.

What is the best practice to follow?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1753
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181204/ee08cc36/attachment.html>


More information about the sr-dev mailing list