Skip to content

Commit 3f81093

Browse files
authored
Merge pull request #9 from SmilingPixel/fix/scraper_0818
fix: default value of log-level typo
2 parents 7910049 + b358618 commit 3f81093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scraper/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func main() {
152152
flag.IntVar(&scrapeIntervalSec, "interval", 2, "Scrape interval in seconds. 2 seconds by default.")
153153
flag.IntVar(&totalDurationSec, "duration", 60, "Total duration to run the scrape task in seconds. 60 seconds by default.")
154154
flag.StringVar(&mactopBaseURL, "mactop-url", "http://localhost:2211", "Base URL for the Mactop metrics API. Default is 'http://localhost:2211'.")
155-
flag.StringVar(&logLevel, "log-level", "warning", "Set the logging level (trace, debug, info, warning, error, fatal, panic). Default is 'warning'.")
155+
flag.StringVar(&logLevel, "log-level", "warn", "Set the logging level (trace, debug, info, warning, error, fatal, panic). Default is 'warning'.")
156156
flag.StringVar(&logOutputDir, "log-output-dir", "", "Directory to write logs to. If empty, logs will be written to stderr.")
157157
flag.Parse()
158158

0 commit comments

Comments
 (0)