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.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/12254 Change subject: bsc: rsl: Set subscr log context during meas report ...................................................................... bsc: rsl: Set subscr log context during meas report Change-Id: Idc6af592e870d15491797ae6fcaffaac2b411766 --- M src/osmo-bsc/abis_rsl.c 1 file changed, 9 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/54/12254/1 diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c index 954fb0f..8ffb07e 100644 --- a/src/osmo-bsc/abis_rsl.c +++ b/src/osmo-bsc/abis_rsl.c @@ -917,11 +917,14 @@ { int i; const char *name = ""; + struct bsc_subscr *bsub = NULL; if (lchan && lchan->conn) { - if (lchan->conn->bsub) - name = bsc_subscr_name(lchan->conn->bsub); - else + bsub = lchan->conn->bsub; + if (bsub) { + log_set_context(LOG_CTX_BSC_SUBSCR, bsub); + name = bsc_subscr_name(bsub); + } else name = lchan->name; } @@ -960,6 +963,9 @@ DEBUGP(DMEAS, "IDX=%u ARFCN=%u BSIC=%u => %d dBm\n", mrc->neigh_idx, mrc->arfcn, mrc->bsic, rxlev2dbm(mrc->rxlev)); } + + if (bsub) + log_set_context(LOG_CTX_BSC_SUBSCR, NULL); } static struct gsm_meas_rep *lchan_next_meas_rep(struct gsm_lchan *lchan) -- To view, visit https://gerrit.osmocom.org/12254 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: Idc6af592e870d15491797ae6fcaffaac2b411766 Gerrit-Change-Number: 12254 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/7677d07b/attachment.htm>