From c2df4ea3affb212e78d5bc7529ba9104b685374e Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 18 Mar 2024 12:10:20 +1100 Subject: [PATCH] logging --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6881a4c..4895149 100644 --- a/main.go +++ b/main.go @@ -494,7 +494,7 @@ func main() { }) } } else { - log.Printf("Found %d hostfailure messages.", len(hostFailures)) + log.Printf("Found %d hostfailure messages in last %.1f hour(s)", len(hostFailures), begin.Abs().Hours()) } // Combine details of host outages and VM outages into one interface