Change in libosmo-netif[master]: Stream client: report reconnection event as 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/.

Max gerrit-no-reply at lists.osmocom.org
Thu Feb 7 16:36:39 UTC 2019


Max has submitted this change and it was merged. ( https://gerrit.osmocom.org/12854 )

Change subject: Stream client: report reconnection event as INFO
......................................................................

Stream client: report reconnection event as INFO

This helps to avoid unnecessary debug output in reconnection logic tests
in follow-up patches.

Change-Id: Ic96430a9e9294e72de23b0bbacdbf3e99a453f1d
---
M src/stream.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/stream.c b/src/stream.c
index 7b97d2a..1880e25 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -172,11 +172,11 @@
 	osmo_stream_cli_close(cli);
 
 	if (cli->reconnect_timeout < 0) {
-		LOGSCLI(cli, LOGL_DEBUG, "not reconnecting, disabled.\n");
+		LOGSCLI(cli, LOGL_INFO, "not reconnecting, disabled.\n");
 		return;
 	}
 
-	LOGSCLI(cli, LOGL_DEBUG, "retrying in %d seconds...\n",
+	LOGSCLI(cli, LOGL_INFO, "retrying in %d seconds...\n",
 		cli->reconnect_timeout);
 	osmo_timer_schedule(&cli->timer, cli->reconnect_timeout, 0);
 	cli->state = STREAM_CLI_STATE_CONNECTING;

-- 
To view, visit https://gerrit.osmocom.org/12854
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic96430a9e9294e72de23b0bbacdbf3e99a453f1d
Gerrit-Change-Number: 12854
Gerrit-PatchSet: 2
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190207/058fc2a3/attachment.htm>


More information about the gerrit-log mailing list