Change in libosmo-abis[master]: ipaccess: Use LOGPITS macro in __handle_ts1_write

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

laforge gerrit-no-reply at lists.osmocom.org
Wed Nov 25 16:29:14 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/21280 )

Change subject: ipaccess: Use LOGPITS macro in __handle_ts1_write
......................................................................

ipaccess: Use LOGPITS macro in __handle_ts1_write

Change-Id: Idce3bb3daf8ab16b84968a61502c826df8b773ed
---
M src/input/ipaccess.c
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 18cf7f5..593f9f0 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -497,11 +497,12 @@
 	msg->l2h = msg->data;
 	ipa_prepend_header(msg, sign_link->tei);
 
-	DEBUGP(DLMI, "TX %u: %s\n", ts_nr, osmo_hexdump(msg->l2h, msgb_l2len(msg)));
+	LOGPITS(e1i_ts, DLMI, LOGL_NOTICE, "TX %u: %s\n", ts_nr,
+		osmo_hexdump(msg->l2h, msgb_l2len(msg)));
 
 	ret = send(bfd->fd, msg->data, msg->len, 0);
 	if (ret != msg->len) {
-		LOGP(DLINP, LOGL_ERROR, "failed to send A-bis IPA signalling "
+		LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "failed to send A-bis IPA signalling "
 			"message. Reason: %s\n", strerror(errno));
 		goto err;
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/21280
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Idce3bb3daf8ab16b84968a61502c826df8b773ed
Gerrit-Change-Number: 21280
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201125/006692cd/attachment.htm>


More information about the gerrit-log mailing list