diff --git a/settings.go b/settings.go index ed84d08..55f06f4 100644 --- a/settings.go +++ b/settings.go @@ -65,8 +65,8 @@ func (s RedisSettings) Addr() string { type LogSettings struct { Stdout bool - File string - Level string + File string `toml:"file" env:"LOG_FILE"` + Level string `toml:"level" env:"LOG_LEVEL"` } func (ls LogSettings) LogLevel() int {