Skip to content

Commit

Permalink
Adds comment describing min log level needed for log_payloads (#20038)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottopell authored Oct 11, 2023
1 parent 82a8af8 commit 5b58fa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ func InitConfig(config Config) {
config.BindEnvAndSetDefault("confd_path", defaultConfdPath)
config.BindEnvAndSetDefault("additional_checksd", defaultAdditionalChecksPath)
config.BindEnvAndSetDefault("jmx_log_file", "")
// If enabling log_payloads, ensure the log level is set to at least DEBUG to be able to see the logs
config.BindEnvAndSetDefault("log_payloads", false)
config.BindEnvAndSetDefault("log_file", "")
config.BindEnvAndSetDefault("log_file_max_size", "10Mb")
Expand Down

0 comments on commit 5b58fa2

Please sign in to comment.