Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
fix printf func
Browse files Browse the repository at this point in the history
  • Loading branch information
ccjenniferhsu committed Jun 24, 2021
1 parent 1ec87ee commit bbc0b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logstash_exporter.go
Expand Up @@ -119,7 +119,7 @@ func main() {

prometheus.MustRegister(logstashCollector)

log.Println("Starting Logstash exporter\n", version.Info())
log.Println("Build context\n", version.BuildContext())
log.Printf("Starting Logstash exporter\n", version.Info())
log.Printf("Build context\n", version.BuildContext())
listen(*exporterBindAddress)
}

0 comments on commit bbc0b9b

Please sign in to comment.