mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
fix log level (#539)
This commit is contained in:
parent
792e174641
commit
e0cb5d8317
@ -88,7 +88,7 @@ object GeneralRunOptions {
|
||||
): Opts[GeneralRunOptions] =
|
||||
(
|
||||
AppOpts.wrapWithOption(timeoutOpt),
|
||||
logLevelOpt.withDefault(LogLevels()),
|
||||
logLevelOpt,
|
||||
multiaddrOpt,
|
||||
onOpt,
|
||||
flagsOpt(isRun),
|
||||
|
@ -124,8 +124,8 @@ object FluenceOpts {
|
||||
.withDefault(false)
|
||||
|
||||
val logLevelOpt: Opts[LogLevels] =
|
||||
Opts.option[String]("log-level", help = "Set log level").withDefault("info").mapValidated {
|
||||
Opts.option[String]("log-level", help = "Set log level").mapValidated {
|
||||
str =>
|
||||
LogLevels.fromString(str)
|
||||
}
|
||||
}.withDefault(LogLevels())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user