mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
2c42464fc8
* refactor: logging config key to log This refactors the recent pre-release change adding log options to their own configuration section in favor of a log section (from logging). * docs: add step to getting started to get the latest tagged commit This is so we avoid issues with changes on master having differences that don't work on the latest docker tag. * test: adjust tests * docs: adjust doc strings
16 lines
444 B
Go
16 lines
444 B
Go
package schema
|
|
|
|
// LogConfiguration represents the logging configuration.
|
|
type LogConfiguration struct {
|
|
Level string `mapstructure:"level"`
|
|
Format string `mapstructure:"format"`
|
|
FilePath string `mapstructure:"file_path"`
|
|
KeepStdout bool `mapstructure:"keep_stdout"`
|
|
}
|
|
|
|
// DefaultLoggingConfiguration is the default logging configuration.
|
|
var DefaultLoggingConfiguration = LogConfiguration{
|
|
Level: "info",
|
|
Format: "text",
|
|
}
|