hotfix(health): debug log failed attempts and warn log all attempt errors if all failed

- Reduce "worrying" noise of icmp attempt failing
- Only log when an action (restart the VPN) is taken
This commit is contained in:
Quentin McGaw
2025-10-30 15:57:40 +00:00
parent b9cc5c1fdc
commit 3734815ada
2 changed files with 17 additions and 9 deletions

View File

@@ -3,6 +3,7 @@ package healthcheck
type Logger interface {
Debugf(format string, args ...any)
Info(s string)
Infof(format string, args ...any)
Warnf(format string, args ...any)
Error(s string)
}