don't output ansi colors to log file
This commit is contained in:
parent
d5b5d156b7
commit
9b0dc8fcd7
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue