From 6c912d97ee4561415ae1c976e0ddce8ae3911476 Mon Sep 17 00:00:00 2001 From: Andy Lo-A-Foe Date: Wed, 2 Oct 2024 20:39:03 +0200 Subject: [PATCH] Printer watermeter address --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index f605fcd..11ff369 100644 --- a/main.go +++ b/main.go @@ -51,6 +51,8 @@ func main() { flag.BoolVar(&verbose, "verbose", false, "Verbose output logging") flag.Parse() + logger.Info("Starting watermeter exporter", "address", watermeterAddr) + wm, err := watermeter.New(watermeterAddr, verbose, logger) if err != nil { logger.Error("Quitting because of error opening watermeter address", "error", err, "addr", watermeterAddr)