chore(client,gateway): log portal connection hiccups on INFO (#9557)

These don't happen very often so are safe to log on INFO. That is the
default log level and it is useful to see, why we are re-connecting to
the portal.
This commit is contained in:
Thomas Eizinger
2025-06-17 16:01:34 +02:00
committed by GitHub
parent 9701cfca0f
commit cc50d58d8c
2 changed files with 10 additions and 2 deletions

View File

@@ -255,7 +255,11 @@ impl Eventloop {
backoff,
max_elapsed_time,
error,
} => tracing::debug!(?backoff, ?max_elapsed_time, "{error:#}"),
} => tracing::info!(
?backoff,
?max_elapsed_time,
"Hiccup in portal connection: {error:#}"
),
}
}

View File

@@ -433,7 +433,11 @@ impl Eventloop {
backoff,
max_elapsed_time,
error,
} => tracing::debug!(?backoff, ?max_elapsed_time, "{error:#}"),
} => tracing::info!(
?backoff,
?max_elapsed_time,
"Hiccup in portal connection: {error:#}"
),
}
}