This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce log level and format config (#138)
- Loading branch information
1 parent
deaf670
commit 3aae9e3
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,16 @@ GUBER_ADVERTISE_ADDRESS=localhost:9990 | |
# See https://pkg.go.dev/github.com/prometheus/[email protected]/prometheus/collectors#NewGoCollector | ||
# GUBER_METRIC_FLAGS=os,golang | ||
|
||
############################ | ||
# Log Config | ||
############################ | ||
|
||
# Log Level, these are the log levels for logrus. | ||
# GUBER_LOG_LEVEL=trace | ||
|
||
# Log Format, currently supports either json or text | ||
# GUBER_LOG_FORMAT=json | ||
|
||
|
||
############################ | ||
# Behavior Config | ||
|