Merge pull request #3817 from wkloucek/audit-log-out
add comment about independence of log outputs
This commit is contained in:
1 file changed
+2
-2
@@ -30,8 +30,8 @@ type Events struct {
|
|||||||
|
|
||||||
// Auditlog holds audit log information
|
// Auditlog holds audit log information
|
||||||
type Auditlog struct {
|
type Auditlog struct {
|
||||||
LogToConsole bool `yaml:"log_to_console" env:"AUDIT_LOG_TO_CONSOLE" desc:"Logs to Stdout if true."`
|
LogToConsole bool `yaml:"log_to_console" env:"AUDIT_LOG_TO_CONSOLE" desc:"Logs to Stdout if true. Independent of the log to file option."`
|
||||||
LogToFile bool `yaml:"log_to_file" env:"AUDIT_LOG_TO_FILE" desc:"Logs to file if true."`
|
LogToFile bool `yaml:"log_to_file" env:"AUDIT_LOG_TO_FILE" desc:"Logs to file if true. Independent of the log to Stdout file option."`
|
||||||
FilePath string `yaml:"filepath" env:"AUDIT_FILEPATH" desc:"Filepath to the logfile. Mandatory if LogToFile is true."`
|
FilePath string `yaml:"filepath" env:"AUDIT_FILEPATH" desc:"Filepath to the logfile. Mandatory if LogToFile is true."`
|
||||||
Format string `yaml:"format" env:"AUDIT_FORMAT" desc:"Log format. using json is advised."`
|
Format string `yaml:"format" env:"AUDIT_FORMAT" desc:"Log format. using json is advised."`
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user