Change in osmo-bts[master]: rsl_rx_chan-activ: Improve logging information

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 Oct 10 14:21:23 UTC 2018


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

Change subject: rsl_rx_chan-activ: Improve logging information
......................................................................

rsl_rx_chan-activ: Improve logging information

Change-Id: I9b9a666e195ea729503ecd707e1582268c190e09
---
M src/common/rsl.c
1 file changed, 3 insertions(+), 2 deletions(-)

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



diff --git a/src/common/rsl.c b/src/common/rsl.c
index 601b1c1..b221754 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1154,8 +1154,9 @@
 	/* 9.3.53 MultiRate Control */
 	/* 9.3.54 Supported Codec Types */
 
-	LOGP(DRSL, LOGL_INFO, " chan_nr=0x%02x type=0x%02x mode=0x%02x\n",
-		dch->chan_nr, type, lchan->tch_mode);
+	LOGP(DRSL, LOGL_INFO, "%s: chan_nr=%s type=0x%02x mode=%s\n",
+	     gsm_lchan_name(lchan), rsl_chan_nr_str(dch->chan_nr), type,
+	     gsm48_chan_mode_name(lchan->tch_mode));
 
 	/* Connecting PDCH on dyn TS goes via PCU instead. */
 	if (ts->pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9b9a666e195ea729503ecd707e1582268c190e09
Gerrit-Change-Number: 11298
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181010/391fca0d/attachment.htm>


More information about the gerrit-log mailing list