<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-abis/+/24132">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Log TRAU FSM at INFO not NOTICE<br><br>During normal operations, osmo-mgw floods the log/vty at level NOTICE with:<br><br> Received Event RX_BITS (trau_sync.c:525)<br><br>Change-Id: Ib4c5ac130e766906361c63090b30111970343075<br>---<br>M src/trau/trau_sync.c<br>M tests/trau_sync/trau_sync_test.c<br>2 files changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/trau/trau_sync.c b/src/trau/trau_sync.c</span><br><span>index 89c5558..dba9cd1 100644</span><br><span>--- a/src/trau/trau_sync.c</span><br><span>+++ b/src/trau/trau_sync.c</span><br><span>@@ -487,7 +487,7 @@</span><br><span>    if (pat_id >= ARRAY_SIZE(sync_patterns))</span><br><span>          return NULL;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-        fi = osmo_fsm_inst_alloc(&trau_sync_fsm, ctx, NULL, LOGL_NOTICE, name);</span><br><span style="color: hsl(120, 100%, 40%);">+   fi = osmo_fsm_inst_alloc(&trau_sync_fsm, ctx, NULL, LOGL_INFO, name);</span><br><span>    if (!fi)</span><br><span>             return NULL;</span><br><span>         tss = talloc_zero(fi, struct trau_rx_sync_state);</span><br><span>diff --git a/tests/trau_sync/trau_sync_test.c b/tests/trau_sync/trau_sync_test.c</span><br><span>index 88b5c6d..4e41dd2 100644</span><br><span>--- a/tests/trau_sync/trau_sync_test.c</span><br><span>+++ b/tests/trau_sync/trau_sync_test.c</span><br><span>@@ -84,5 +84,6 @@</span><br><span>   log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE);</span><br><span>      log_set_print_category(osmo_stderr_target, 0);</span><br><span>       log_set_print_category_hex(osmo_stderr_target, 0);</span><br><span style="color: hsl(120, 100%, 40%);">+    log_set_log_level(osmo_stderr_target, LOGL_INFO);</span><br><span>    test_body();</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-abis/+/24132">change 24132</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/libosmo-abis/+/24132"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-abis </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib4c5ac130e766906361c63090b30111970343075 </div>
<div style="display:none"> Gerrit-Change-Number: 24132 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>