Skip to content

Commit

Permalink
Fix (#324)
Browse files Browse the repository at this point in the history
* fix logging

* fmt

* debug to info
  • Loading branch information
fishonamos authored Jan 3, 2025
1 parent 240978f commit 239ff77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atoma-bin/atoma_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ fn setup_logging<P: AsRef<Path>>(log_dir: P) -> Result<(WorkerGuard, WorkerGuard
.with_current_span(true)
.with_span_list(true)
.with_writer(node_non_blocking)
.with_filter(EnvFilter::new("atoma_node=debug"));
.with_filter(EnvFilter::new("atoma_node=info"));

// Create JSON formatter for daemon service
let daemon_layer = fmt::layer()
Expand All @@ -478,7 +478,7 @@ fn setup_logging<P: AsRef<Path>>(log_dir: P) -> Result<(WorkerGuard, WorkerGuard
.with_current_span(true)
.with_span_list(true)
.with_writer(daemon_non_blocking)
.with_filter(EnvFilter::new("atoma_daemon=debug"));
.with_filter(EnvFilter::new("atoma_daemon=info"));

// Create console formatter for development
let console_layer = fmt::layer()
Expand Down

0 comments on commit 239ff77

Please sign in to comment.