don't output ansi colors to log file

This commit is contained in:
mykola2312 2024-02-27 01:40:27 +02:00
parent d5b5d156b7
commit 9b0dc8fcd7

View file

@ -35,6 +35,7 @@ pub fn log_init() {
.with_filter(LevelFilter::ERROR);
let file_layer = fmt::layer()
.with_ansi(false)
.with_writer(log_appender)
.with_filter(TeloxideNoiseFilter {})
.with_filter(LevelFilter::INFO);