Change in osmo-mgw[master]: Log messages about RTP timestamps at 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/.

keith gerrit-no-reply at lists.osmocom.org
Tue May 4 20:23:53 UTC 2021


keith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/24130 )


Change subject: Log messages about RTP timestamps at level INFO
......................................................................

Log messages about RTP timestamps at level INFO

During normal operations, osmo-mgw floods the log/vty at level NOTICE with
message about RTP timestamps, let's log them at INFO instead.

Change-Id: Id76dc6345e1b1875240c87c609b5224ea9a6643f
---
M src/libosmo-mgcp/mgcp_network.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/30/24130/1

diff --git a/src/libosmo-mgcp/mgcp_network.c b/src/libosmo-mgcp/mgcp_network.c
index 6a30165..748ac9c 100644
--- a/src/libosmo-mgcp/mgcp_network.c
+++ b/src/libosmo-mgcp/mgcp_network.c
@@ -326,7 +326,7 @@
 
 	if (timestamp_error) {
 		rate_ctr_inc(sstate->err_ts_ctr);
-		LOGPENDP(endp, DRTP, LOGL_NOTICE,
+		LOGPENDP(endp, DRTP, LOGL_INFO,
 			 "The %s timestamp has an alignment error of %d "
 			 "on SSRC: %u "
 			 "SeqNo delta: %d, TS delta: %d, dTS/dSeq: %d "
@@ -413,7 +413,7 @@
 	/* If there is an alignment error, we have to compensate it */
 	if (ts_error) {
 		state->patch.timestamp_offset += ptime - ts_error;
-		LOGPENDP(endp, DRTP, LOGL_NOTICE,
+		LOGPENDP(endp, DRTP, LOGL_INFO,
 			 "Corrected timestamp alignment error of %d on SSRC: %u "
 			 "new TS offset: %d, "
 			 "from %s:%d\n",

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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Id76dc6345e1b1875240c87c609b5224ea9a6643f
Gerrit-Change-Number: 24130
Gerrit-PatchSet: 1
Gerrit-Owner: keith <keith at rhizomatica.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210504/acf4d683/attachment.htm>


More information about the gerrit-log mailing list