Skip to content

Commit

Permalink
Update comment for logger initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
IAvecilla committed Jan 9, 2024
1 parent 9a0d514 commit c1a4653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/tools/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ async fn main() -> anyhow::Result<()> {
fs::create_dir_all("logs/")?;
let log_file = fs::File::create("logs/output.log")?;

// Create the logger for stdout. This will produce human-readable logs for
// all events of level INFO or higher.
// Create the logger for stdout. This will produce human-readable logs for ERROR events.
// To see logs for other events, set the RUST_LOG environment to the desired level.
let stdout_log = tracing_subscriber::fmt::layer()
.pretty()
.with_ansi(std::env::var("NO_COLOR").is_err() && std::io::stdout().is_terminal())
Expand Down

0 comments on commit c1a4653

Please sign in to comment.