[PATCH] osmo-bts[master]: octphy: improve log output

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

dexter gerrit-no-reply at lists.osmocom.org
Fri Jun 16 12:51:08 UTC 2017


Review at  https://gerrit.osmocom.org/2932

octphy: improve log output

Printing the RX payload size is strictly informative, so the
loglevel LOGL_ERROR is wrong. This commit changes it to
LOGL_DEBUG

(Patch by Octasic Inc.)

Change-Id: I712cdd79cbba93f457705d38871bd8d4b7f4e897
---
M src/osmo-bts-octphy/l1_tch.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/32/2932/1

diff --git a/src/osmo-bts-octphy/l1_tch.c b/src/osmo-bts-octphy/l1_tch.c
index 7393e73..5693313 100644
--- a/src/osmo-bts-octphy/l1_tch.c
+++ b/src/osmo-bts-octphy/l1_tch.c
@@ -194,7 +194,7 @@
 	    &trx->ts[L1SAP_CHAN2TS(chan_nr)].lchan[l1sap_chan2ss(chan_nr)];
 
 	if (data_ind->Data.ulDataLength < 1) {
-		LOGP(DL1C, LOGL_ERROR, "chan_nr %d Rx Payload size 0\n",
+		LOGP(DL1C, LOGL_DEBUG, "chan_nr %d Rx Payload size 0\n",
 		     chan_nr);
 		return -EINVAL;
 	}

-- 
To view, visit https://gerrit.osmocom.org/2932
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I712cdd79cbba93f457705d38871bd8d4b7f4e897
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list