Change in osmo-pcu[master]: Drop duplicate log line

pespin gerrit-no-reply at lists.osmocom.org
Mon Jul 26 15:19:46 UTC 2021


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


Change subject: Drop duplicate log line
......................................................................

Drop duplicate log line

Same line (or similar if run_diag) is logged immediately below, showing
up twice in log which is confusing:

"""
20210726171543005 DTBF tbf.cpp:455 TBF(TFI=2 TLLI=0xfe563576 DIR=DL STATE=WAIT_RELEASE EGPRS) T3193 timeout expired, freeing TBF
20210726171543005 DTBF tbf.cpp:462 TBF(TFI=2 TLLI=0xfe563576 DIR=DL STATE=WAIT_RELEASE EGPRS) T3193 timeout expired, freeing TBF
"""

Change-Id: Ie171c458e670f8471ac93f78520a05926114c974
---
M src/tbf.cpp
1 file changed, 0 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/49/25049/1

diff --git a/src/tbf.cpp b/src/tbf.cpp
index e3b171b..2529eaa 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -452,9 +452,6 @@
 
 static inline void tbf_timeout_free(struct gprs_rlcmac_tbf *tbf, enum tbf_timers t, bool run_diag)
 {
-	LOGPTBF(tbf, LOGL_NOTICE, "%s timeout expired, freeing TBF\n",
-		get_value_string(tbf_timers_names, t));
-
 	if (run_diag) {
 		LOGPTBF(tbf, LOGL_NOTICE, "%s timeout expired, freeing TBF: %s\n",
 			get_value_string(tbf_timers_names, t), tbf->rlcmac_diag().c_str());

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ie171c458e670f8471ac93f78520a05926114c974
Gerrit-Change-Number: 25049
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/20210726/052ac2be/attachment.htm>


More information about the gerrit-log mailing list