[sr-dev] [kamailio/kamailio] Unexpected log_systemd behavior when daemon is forked (#799)

Anthony Messina notifications at github.com
Mon Oct 10 14:36:47 CEST 2016


Sorry, what I mean by "core logging" is http://www.kamailio.org/docs/modules/4.4.x/modules/log_systemd#idp36696668 "Core Logging."

For me, if I set `log_engine_type="systemd"`, then only kamailio startup are sent via the journal, such as the following:
```
INFO: tls [tls_init.c:403]: init_tls_compression(): tls: init_tls: disabling compression...
INFO: <core> [sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
```

If `log_engine_type="systemd"` is set, no script-originating messages appear in the journal either via `xlog` or `sd_journal_print`.

If I load the `log_systemd` module, and do not set `log_engine_type="systemd"` , then `sd_journal_print` script messages print to the journal, but `xlog` script messages do not.

-- 
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/799#issuecomment-252606365
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161010/3cc69d49/attachment.html>


More information about the sr-dev mailing list