mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
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:
@@ -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:#}"
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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:#}"
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user