[PATCH] openbsc[master]: SGSN: log IMSI on PDP context creation/deletion

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 Aug 22 12:45:09 UTC 2017


Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/3575

to look at the new patch set (#3).

SGSN: log IMSI on PDP context creation/deletion

Related: SYS#3610
Change-Id: I5ada9f85af2098f9acc8a277b9026eed226b9ac2
---
M openbsc/src/gprs/sgsn_libgtp.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/75/3575/3

diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c
index e90b66d..95dd6f0 100644
--- a/openbsc/src/gprs/sgsn_libgtp.c
+++ b/openbsc/src/gprs/sgsn_libgtp.c
@@ -145,7 +145,7 @@
 	const uint8_t *qos;
 	int rc;
 
-	LOGP(DGPRS, LOGL_ERROR, "Create PDP Context\n");
+	LOGP(DGPRS, LOGL_ERROR, "Create PDP Context for %s\n", mmctx->imsi);
 	pctx = sgsn_pdp_ctx_alloc(mmctx, nsapi);
 	if (!pctx) {
 		LOGP(DGPRS, LOGL_ERROR, "Couldn't allocate PDP Ctx\n");
@@ -624,7 +624,7 @@
 /* Called whenever a PDP context is deleted for any reason */
 static int cb_delete_context(struct pdp_t *pdp)
 {
-	LOGP(DGPRS, LOGL_INFO, "PDP Context was deleted\n");
+	LOGP(DGPRS, LOGL_INFO, "PDP Context for %lu was deleted\n", pdp ? pdp->imsi : 0);
 	return 0;
 }
 

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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5ada9f85af2098f9acc8a277b9026eed226b9ac2
Gerrit-PatchSet: 3
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>



More information about the gerrit-log mailing list