Skip to content

Commit

Permalink
perf(wm): switch to daily rotating log files
Browse files Browse the repository at this point in the history
  • Loading branch information
LGUG2Z committed May 16, 2024
1 parent 29b1794 commit 77fc397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions komorebi/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ fn setup() -> Result<(WorkerGuard, WorkerGuard)> {
std::env::set_var("RUST_LOG", "info");
}

let appender = tracing_appender::rolling::never(std::env::temp_dir(), "komorebi_plaintext.log");
let color_appender = tracing_appender::rolling::never(std::env::temp_dir(), "komorebi.log");
let appender = tracing_appender::rolling::daily(std::env::temp_dir(), "komorebi_plaintext.log");
let color_appender = tracing_appender::rolling::daily(std::env::temp_dir(), "komorebi.log");
let (non_blocking, guard) = tracing_appender::non_blocking(appender);
let (color_non_blocking, color_guard) = tracing_appender::non_blocking(color_appender);

Expand Down

0 comments on commit 77fc397

Please sign in to comment.