Change in osmo-gbproxy[master]: gb_proxy: extend logging macro to log BVCI and Cell ID

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
Tue Feb 9 22:02:02 UTC 2021


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/22803 )


Change subject: gb_proxy: extend logging macro to log BVCI and Cell ID
......................................................................

gb_proxy: extend logging macro to log BVCI and Cell ID

At the moment we are logging cells by the BVCI, which is already unique,
but since we store the cell id now as well we should display the cell id
as well.

Change-Id: I11b8fa322f143c6ef7fee36c12cb106a0b4c5f70
Related: SYS#5103
---
M include/osmocom/sgsn/gb_proxy.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gbproxy refs/changes/03/22803/1

diff --git a/include/osmocom/sgsn/gb_proxy.h b/include/osmocom/sgsn/gb_proxy.h
index a36f305..466444e 100644
--- a/include/osmocom/sgsn/gb_proxy.h
+++ b/include/osmocom/sgsn/gb_proxy.h
@@ -227,7 +227,7 @@
 	LOGPBVC_CAT(BVC, DGPRS, LEVEL, FMT, ## ARGS)
 
 #define LOGPCELL_CAT(CELL, SUBSYS, LEVEL, FMT, ARGS...) \
-	LOGP(SUBSYS, LEVEL, "CELL(%05u) " FMT, (CELL)->bvci, ## ARGS)
+	LOGP(SUBSYS, LEVEL, "CELL(%05u/%05u) " FMT, (CELL)->bvci, (CELL)->id.cid, ## ARGS)
 #define LOGPCELL(CELL, LEVEL, FMT, ARGS...) \
 	LOGPCELL_CAT(CELL, DGPRS, LEVEL, FMT, ## ARGS)
 

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

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: I11b8fa322f143c6ef7fee36c12cb106a0b4c5f70
Gerrit-Change-Number: 22803
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210209/77f7d9de/attachment.htm>


More information about the gerrit-log mailing list