[PATCH] openbsc[master]: Decrease count_codecs logging verbosity

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

Max gerrit-no-reply at lists.osmocom.org
Tue Nov 1 10:54:17 UTC 2016


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

Decrease count_codecs logging verbosity

Use channel type name instead of number and log it with DEBUG facility
otherwise it produces lots of irrelevant messages for SDCCH*

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


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/79/1179/1

diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 9656961..f672750 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -112,8 +112,8 @@
 			break;
 		}
 	} else {
-		LOGP(DRSL, LOGL_ERROR, "count_codecs unknown lchan->type %x on channel %s\n",
-		     lchan->type, gsm_ts_and_pchan_name(lchan->ts));
+		LOGP(DRSL, LOGL_DEBUG, "count_codecs unknown lchan->type %s on channel %s\n",
+		     gsm_lchant_name(lchan->type), gsm_ts_and_pchan_name(lchan->ts));
 	}
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I11b04e0cb02bf6ed01f6076cb31a56d8921d735e
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list