<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12251">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">paging: Properly enclose logging imsi filter scope<br><br>Otherwise all logging is kept enabled after passing through those code<br>paths.<br><br>Change-Id: I06a977d97e6ffea02ec7402d48410c0e7cc6c155<br>---<br>M src/osmo-bsc/paging.c<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/51/12251/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c</span><br><span>index 03f940c..2c9d5cd 100644</span><br><span>--- a/src/osmo-bsc/paging.c</span><br><span>+++ b/src/osmo-bsc/paging.c</span><br><span>@@ -285,6 +285,8 @@</span><br><span> </span><br><span>        /* destroy it now. Do not access req afterwards */</span><br><span>   paging_remove_request(&req->bts->paging, req);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+    log_set_context(LOG_CTX_BSC_SUBSCR, NULL);</span><br><span> }</span><br><span> </span><br><span> #define GSM_FRAME_DURATION_us    4615</span><br><span>@@ -440,6 +442,7 @@</span><br><span>                   continue;</span><br><span>            _paging_request_stop(bts, bsub, NULL, NULL);</span><br><span>         }</span><br><span style="color: hsl(120, 100%, 40%);">+     log_set_context(LOG_CTX_BSC_SUBSCR, NULL);</span><br><span> }</span><br><span> </span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12251">change 12251</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/12251"/><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: I06a977d97e6ffea02ec7402d48410c0e7cc6c155 </div>
<div style="display:none"> Gerrit-Change-Number: 12251 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>