Change in openbsc[master]: abis_rsl: rsl_rx_chan_rqd: Format bts log string as in everywhere else

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed May 30 14:32:32 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9384 )

Change subject: abis_rsl: rsl_rx_chan_rqd: Format bts log string as in everywhere else
......................................................................

abis_rsl: rsl_rx_chan_rqd: Format bts log string as in everywhere else

Change-Id: I2c0db366caef5632d4e04feeda1f83e79a58995f
---
M openbsc/src/libbsc/abis_rsl.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index f05344a..5a508b2 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -1842,7 +1842,7 @@
 
 	/* Determine channel request cause code */
 	chreq_reason = get_reason_by_chreq(rqd_ref->ra, bts->network->neci);
-	LOGP(DRSL, LOGL_NOTICE, "BTS %d CHAN RQD: reason: %s (ra=0x%02x, neci=0x%02x, chreq_reason=0x%02x)\n",
+	LOGP(DRSL, LOGL_NOTICE, "(bts=%d) CHAN RQD: reason: %s (ra=0x%02x, neci=0x%02x, chreq_reason=0x%02x)\n",
 	     msg->lchan->ts->trx->bts->nr,
 	     get_value_string(gsm_chreq_descs, chreq_reason),
 	     rqd_ref->ra, bts->network->neci, chreq_reason);
@@ -1867,7 +1867,7 @@
 	lchan = lchan_alloc(bts, lctype, is_lu);
 	if (!lchan) {
 		uint8_t wait_ind;
-		LOGP(DRSL, LOGL_NOTICE, "BTS %d CHAN RQD: no resources for %s 0x%x\n",
+		LOGP(DRSL, LOGL_NOTICE, "(bts=%d) CHAN RQD: no resources for %s 0x%x\n",
 		     msg->lchan->ts->trx->bts->nr, gsm_lchant_name(lctype), rqd_ref->ra);
 		rate_ctr_inc(&bts->network->bsc_ctrs->ctr[BSC_CTR_CHREQ_NO_CHANNEL]);
 		if (bts->T3122)

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

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I2c0db366caef5632d4e04feeda1f83e79a58995f
Gerrit-Change-Number: 9384
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180530/59c731bf/attachment.htm>


More information about the gerrit-log mailing list