Change in osmo-bts[master]: lchan: Update log line level to use macro and level INFO

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

pespin gerrit-no-reply at lists.osmocom.org
Thu Oct 14 14:37:59 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/25787 )


Change subject: lchan: Update log line level to use macro and level INFO
......................................................................

lchan: Update log line level to use macro and level INFO

Change-Id: Idd48fd8fbb13b715096a4765dcb08a18d85098a7
---
M src/common/lchan.c
1 file changed, 1 insertion(+), 2 deletions(-)



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

diff --git a/src/common/lchan.c b/src/common/lchan.c
index 14fa625..c4f3a47 100644
--- a/src/common/lchan.c
+++ b/src/common/lchan.c
@@ -257,8 +257,7 @@
 
 void lchan_set_state(struct gsm_lchan *lchan, enum gsm_lchan_state state)
 {
-	DEBUGP(DL1C, "%s state %s -> %s\n",
-	       gsm_lchan_name(lchan),
+	LOGPLCHAN(lchan, DL1C, LOGL_INFO, "state %s -> %s\n",
 	       gsm_lchans_name(lchan->state),
 	       gsm_lchans_name(state));
 	lchan->state = state;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/25787
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idd48fd8fbb13b715096a4765dcb08a18d85098a7
Gerrit-Change-Number: 25787
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211014/d3d699b8/attachment.htm>


More information about the gerrit-log mailing list