diff options
author | Max <msuraev@sysmocom.de> | 2019-02-07 12:15:50 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2019-02-07 13:38:22 +0100 |
commit | 1a357720b56386c0d42c3a6dccfff11f46cf27e7 (patch) | |
tree | c1e93b24447f4fc1cbcec78f0963e4f5e8023bfa | |
parent | e72218c10843ccc0428bb93f7f521a05b77e660b (diff) |
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
-rw-r--r-- | src/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ void osmo_stream_cli_reconnect(struct osmo_stream_cli *cli) 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; |