<p></p>
<p>The first patch it is ok, SIG_DEBUG is defined by default.</p>
<p>Lately some of the devs put efforts in eliminating compile time macro switches that were not changed for very long time, to make the code easier to follow. Anyhow, I am fine with the first commit, if it is useful.</p>
<p>But turning this off by default at compile time is not ok, it is needed for tracking memory leaks in PKG and if someone reports it, likely it has it installed with default compile options. Asking to recompile with new flags is not convenient at all, production systems are typically not configured for building packages. And again, the PKG report should not be printed if the global parameters listed above were not changed.</p>
<p>The signal handler of the main process is printing only PKG reports for itself, the main process does not print PKG reports for child processes.</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/pull/2127#issuecomment-646147232">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPFRAJPVHAX7B7QGTTRXI6MFANCNFSM4JNBKNVQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZI265Y6XP4KN2GKCWTRXI6MFA5CNFSM4JNBKNV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE2BWZIA.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/pull/2127#issuecomment-646147232",
"url": "https://github.com/kamailio/kamailio/pull/2127#issuecomment-646147232",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>