From e355f5f6bc43754a81574039269e2c5ccfaefe60 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 18 Mar 2024 11:25:13 +1100 Subject: [PATCH] improve logging --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 12374f9..6881a4c 100644 --- a/main.go +++ b/main.go @@ -300,7 +300,7 @@ func main() { haUnreachableEvents = append(haUnreachableEvents, h) log.Printf("Recording host %s unreachable HA status event at %s\n", h.Host.Name, h.CreatedTime.In(location).Format(time.ANSIC)) } else { - log.Printf("Host %s HA failure time at %s was before %s or after %s\n", h.Host.Name, haFailedTime.Format(time.ANSIC), + log.Printf("Host %s HA failure time at %s was before %s or after %s, excluding this ha unreachable event\n", h.Host.Name, haFailedTime.Format(time.ANSIC), unreachableStartComparison, unreachableEndComparison) }