Skip to content

Commit 32c2fe2

Browse files
authored
Set exporter logs to warn (#113)
1 parent f16584b commit 32c2fe2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/start/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func main() {
7272
"PG_EXPORTER_EXCLUDE_DATABASE": "template0,template1",
7373
"PG_EXPORTER_AUTO_DISCOVER_DATABASES": "true",
7474
}
75-
svisor.AddProcess("exporter", "postgres_exporter",
75+
svisor.AddProcess("exporter", "postgres_exporter --log.level=warn ",
7676
supervisor.WithEnv(exporterEnv),
7777
supervisor.WithRestart(0, 1*time.Second),
7878
)
@@ -83,7 +83,6 @@ func main() {
8383
fmt.Println(err)
8484
os.Exit(1)
8585
}
86-
8786
}
8887

8988
func panicHandler(err error) {

0 commit comments

Comments
 (0)