<blockquote>
<p>If found if kamailio started from command line like <code>kamailio -DD -E</code> and present <code>log_engine_type="systemd"</code>, then i can see messages from <code>sd_journal_print</code> and <code>xlog</code> functions.</p>
<p>When I start kamailio with same config as systemd service then I not see messages from <code>sd_journal_print</code> and <code>xlog</code> functions.</p>
<p>When I disable <code>log_engine_type="systemd"</code> then i can see output of <code>sd_journal_print</code> and <code>xlog</code> functions again.<br>
Think some issue exist here.</p>
</blockquote>
<p>That is exactly what I find as well.  I'm re-researching this as well as the new <code>systemdops.so</code> module to support <code>sd_notify()</code> in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/0c48e1621c88bf1d390e4cfb82e52b2d6339b837/hovercard" href="https://github.com/kamailio/kamailio/commit/0c48e1621c88bf1d390e4cfb82e52b2d6339b837"><tt>0c48e16</tt></a>.  Both of them seem to suffer from the same issue -- the way Kamailio is forking interferes with the core using certain modules, as they relate to sending messages to systemd.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/799?email_source=notifications&email_token=ABO7UZIDRZIR7Z53QBTEVL3QU52HXA5CNFSM4CQ4TRQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4VK5I#issuecomment-557405557">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZP77LH5UVSCACXUWKDQU52HXANCNFSM4CQ4TRQQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJN5YEYTFM3MTUELY3QU52HXA5CNFSM4CQ4TRQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4VK5I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/799?email_source=notifications\u0026email_token=ABO7UZIDRZIR7Z53QBTEVL3QU52HXA5CNFSM4CQ4TRQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4VK5I#issuecomment-557405557",
"url": "https://github.com/kamailio/kamailio/issues/799?email_source=notifications\u0026email_token=ABO7UZIDRZIR7Z53QBTEVL3QU52HXA5CNFSM4CQ4TRQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4VK5I#issuecomment-557405557",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>