Skip to content

Commit 284088c

Browse files
authored
Merge pull request #62 from ercpereda/avoid-logging-config
Avoid logging configuration to no leak the github api token
2 parents fc2e58a + 892103f commit 284088c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package main
22

33
import (
4-
"github.com/fatih/structs"
54
conf "github.com/infinityworks/github-exporter/config"
65
"github.com/infinityworks/github-exporter/exporter"
76
"github.com/infinityworks/github-exporter/http"
@@ -23,7 +22,7 @@ func init() {
2322
}
2423

2524
func main() {
26-
log.WithFields(structs.Map(applicationCfg)).Info("Starting Exporter")
25+
log.Info("Starting Exporter")
2726

2827
exp := exporter.Exporter{
2928
APIMetrics: mets,

0 commit comments

Comments
 (0)