Skip to content

Commit

Permalink
Printer watermeter address
Browse files Browse the repository at this point in the history
  • Loading branch information
loafoe committed Oct 2, 2024
1 parent d908160 commit 6c912d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6c912d9

Please sign in to comment.