<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12211">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">set gscon FSM instances' log level to DEBUG<br><br>Currently, we see all subscribers' FSM transitions on NOTICE level even though<br>the code uses LOGPFSML(LOGL_DEBUG), because LOGPFSML() uses the max loglevel of<br>the passed level and the FSM instance's level. Too noisy!<br><br>By default, start out all gscon FSM instances on DEBUG level, so it is possible<br>to silence the osmo-bsc log. Individual instances can still be lifted (I<br>presume using the CTRL interface?).<br><br>Change-Id: Ie021483e93ab174abac51357bcca8895756566c4<br>---<br>M src/osmo-bsc/bsc_subscr_conn_fsm.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/11/12211/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c</span><br><span>index 074c238..fac0bc0 100644</span><br><span>--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c</span><br><span>+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c</span><br><span>@@ -877,7 +877,7 @@</span><br><span> </span><br><span>         /* don't allocate from 'conn' context, as gscon_cleanup() will call talloc_free(conn) before</span><br><span>      * libosmocore will call talloc_free(conn->fi), i.e. avoid use-after-free during cleanup */</span><br><span style="color: hsl(0, 100%, 40%);">-  conn->fi = osmo_fsm_inst_alloc(&gscon_fsm, net, conn, LOGL_NOTICE, NULL);</span><br><span style="color: hsl(120, 100%, 40%);">+      conn->fi = osmo_fsm_inst_alloc(&gscon_fsm, net, conn, LOGL_DEBUG, NULL);</span><br><span>      if (!conn->fi) {</span><br><span>          talloc_free(conn);</span><br><span>           return NULL;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12211">change 12211</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/12211"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie021483e93ab174abac51357bcca8895756566c4 </div>
<div style="display:none"> Gerrit-Change-Number: 12211 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>