Change expected warning log level from `WARNING` to `WARN` (#526)

This commit is contained in:
Pedro Pombeiro 2018-01-03 15:11:21 +01:00 committed by Adam Babik
parent 373fc86d1e
commit d4782a3f1e
1 changed files with 2 additions and 2 deletions

View File

@ -288,8 +288,8 @@ type NodeConfig struct {
// LogFile is filename where exposed logs get written to
LogFile string
// LogLevel defines minimum log level. Valid names are "ERROR", "WARNING", "INFO", "DEBUG", and "TRACE".
LogLevel string `validate:"eq=ERROR|eq=WARNING|eq=INFO|eq=DEBUG|eq=TRACE"`
// LogLevel defines minimum log level. Valid names are "ERROR", "WARN", "INFO", "DEBUG", and "TRACE".
LogLevel string `validate:"eq=ERROR|eq=WARN|eq=INFO|eq=DEBUG|eq=TRACE"`
// LogToStderr defines whether logged info should also be output to os.Stderr
LogToStderr bool