Change in osmo-bsc[master]: paging: Properly enclose logging imsi filter scope

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Dec 11 17:16:06 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/12251


Change subject: paging: Properly enclose logging imsi filter scope
......................................................................

paging: Properly enclose logging imsi filter scope

Otherwise all logging is kept enabled after passing through those code
paths.

Change-Id: I06a977d97e6ffea02ec7402d48410c0e7cc6c155
---
M src/osmo-bsc/paging.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/51/12251/1

diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index 03f940c..2c9d5cd 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -285,6 +285,8 @@
 
 	/* destroy it now. Do not access req afterwards */
 	paging_remove_request(&req->bts->paging, req);
+
+	log_set_context(LOG_CTX_BSC_SUBSCR, NULL);
 }
 
 #define GSM_FRAME_DURATION_us	4615
@@ -440,6 +442,7 @@
 			continue;
 		_paging_request_stop(bts, bsub, NULL, NULL);
 	}
+	log_set_context(LOG_CTX_BSC_SUBSCR, NULL);
 }
 
 

-- 
To view, visit https://gerrit.osmocom.org/12251
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I06a977d97e6ffea02ec7402d48410c0e7cc6c155
Gerrit-Change-Number: 12251
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181211/bc482101/attachment.htm>


More information about the gerrit-log mailing list