Skip to content

Commit c6a51d5

Browse files
authored
Clean up log level documentation (#1063)
1 parent a68504b commit c6a51d5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func registerFlags() {
200200
"info",
201201
"The desired verbosity level for logging messages from nginx-agent. "+
202202
"Available options, in order of severity from highest to lowest, are: "+
203-
"panic, fatal, error, info and debug.",
203+
"error, warn, info and debug.",
204204
)
205205
fs.String(
206206
LogPathKey,

test/config/agent/nginx-agent-otel-load.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66

77
log:
8-
# set log level (panic, fatal, error, info, debug, trace; default "info")
8+
# set log level (error, warn, info, debug; default "info")
99
level: debug
1010
# set log path. if empty, don't log to file.
1111
path: /var/log/nginx-agent/

test/mock/collector/nginx-agent.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66

77
log:
8-
# set log level (panic, fatal, error, info, debug, trace; default "info")
8+
# set log level (error, warn, info, debug; default "info")
99
level: debug
1010
# set log path. if empty, don't log to file.
1111
path: /var/log/nginx-agent/

0 commit comments

Comments
 (0)