<p>Logging to systemd journal adds dependency to libsystemd which is not available on all operating systems.</p>

<p>As I checked the provided link and it looked rather easy, I added a new module (named log_systemd) that exports to config a wrapper to sd_journal_print().</p>

<p>I will try to get the core logging function to be more flexible and be able to use a different function than syslog, so a module can overwrite the core preference. However, that means the logging via something wanted by a module will be effective once that module is loaded, before (from kamailio start till module load) the syslog will be used.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/370#issuecomment-149503298">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZVRL33FhZts-pfcxYetpKS0i1zWIks5o9ggVgaJpZM4GPaeS.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/370#issuecomment-149503298"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>