log to stdout with info level
This commit is contained in:
parent
93b49dff9e
commit
60b6912b2c
@ -52,9 +52,9 @@ fn create_logger() -> LoggerHandle {
|
|||||||
Cleanup::KeepLogFiles(4),
|
Cleanup::KeepLogFiles(4),
|
||||||
)
|
)
|
||||||
.format(flexi_logger::detailed_format)
|
.format(flexi_logger::detailed_format)
|
||||||
.adaptive_format_for_stderr(AdaptiveFormat::Detailed)
|
.adaptive_format_for_stdout(AdaptiveFormat::Detailed)
|
||||||
.print_message()
|
.print_message()
|
||||||
.duplicate_to_stderr(Duplicate::Warn)
|
.duplicate_to_stdout(Duplicate::Info)
|
||||||
.write_mode(flexi_logger::WriteMode::Async)
|
.write_mode(flexi_logger::WriteMode::Async)
|
||||||
.start_with_specfile(
|
.start_with_specfile(
|
||||||
std::env::current_exe()
|
std::env::current_exe()
|
||||||
|
Loading…
Reference in New Issue
Block a user