<p style="white-space: pre-wrap; word-wrap: break-word;">I think you are confusing two different things:</p><p style="white-space: pre-wrap; word-wrap: break-word;">a) disabling logging altogether (this is new)<br>b) disabling only DEBUG level logging while keeping the higher level logging</p><p style="white-space: pre-wrap; word-wrap: break-word;">'b' was what I had originally in mind with the DEBUG define when writing the logging code ages ago, and which is also what I believe you recently wanted to support by an external #define?</p><p style="white-space: pre-wrap; word-wrap: break-word;">In any case, whatever we do, the existence of the "DEBUG" #define should only toggle LOGL_DEBUG / DEBUGP and not normal LOGP calls.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/26394">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/26394">change 26394</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/26394"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia4c78abe5f198139f96ffa289998855be2477585 </div>
<div style="display:none"> Gerrit-Change-Number: 26394 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 27 Nov 2021 14:52:03 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>