<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/22987">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tests: Explicitly drop category from log<br><br>Let's disable category here since we don't care about its formatting here.<br><br>In any case, every test relying on logging output validation should<br>always explicitly state the config to avoid issues in the future if<br>default values change.<br><br>Change-Id: Iaa77f8a7d3f752173507afd988bd76a8aa632082<br>Related: OS#5034<br>---<br>M tests/CommonLibs/LogTest.cpp<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/87/22987/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/CommonLibs/LogTest.cpp b/tests/CommonLibs/LogTest.cpp</span><br><span>index 0087070..973e5b2 100644</span><br><span>--- a/tests/CommonLibs/LogTest.cpp</span><br><span>+++ b/tests/CommonLibs/LogTest.cpp</span><br><span>@@ -61,6 +61,8 @@</span><br><span>        log_set_use_color(osmo_stderr_target, 0);</span><br><span>    log_set_print_filename(osmo_stderr_target, 0);</span><br><span>       log_set_print_level(osmo_stderr_target, 1);</span><br><span style="color: hsl(120, 100%, 40%);">+   log_set_print_category(osmo_stderr_target, 0);</span><br><span style="color: hsl(120, 100%, 40%);">+        log_set_print_category_hex(osmo_stderr_target, 0);</span><br><span> </span><br><span>       Log(MYCAT, LOGL_FATAL, __BASE_FILE__, __LINE__).get() << "testing the logger.";</span><br><span>      Log(MYCAT, LOGL_ERROR, __BASE_FILE__, __LINE__).get() << "testing the logger.";</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/22987">change 22987</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/osmo-trx/+/22987"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Iaa77f8a7d3f752173507afd988bd76a8aa632082 </div>
<div style="display:none"> Gerrit-Change-Number: 22987 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>