Skip to content

Commit

Permalink
turned off debug files
Browse files Browse the repository at this point in the history
  • Loading branch information
LowPolyCat1 committed Jan 2, 2025
1 parent f99bd05 commit 88d37be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use rusty_filesort::run_sorting;

#[tokio::main]
async fn main() {
let file_appender = tracing_appender::rolling::minutely("./logs", "debug.log");
let (non_blocking, _guard) = tracing_appender::non_blocking(file_appender);
tracing_subscriber::fmt().with_writer(non_blocking).init();
// let file_appender = tracing_appender::rolling::minutely("./logs", "debug.log");
// let (non_blocking, _guard) = tracing_appender::non_blocking(file_appender);
// tracing_subscriber::fmt().with_writer(non_blocking).init();

tracing::info!("Hello, world!");
match run_sorting() {
Expand Down

0 comments on commit 88d37be

Please sign in to comment.