Skip to content

Commit

Permalink
[anza migration] fix: use the correct log filter for non-unix (solana…
Browse files Browse the repository at this point in the history
…-labs#245)

fix: use the correct log filter for non-unix
  • Loading branch information
yihau authored Mar 15, 2024
1 parent f5a3f24 commit 2537e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub fn redirect_stderr_to_file(logfile: Option<String>) -> Option<JoinHandle<()>
#[cfg(not(unix))]
{
println!("logrotate is not supported on this platform");
solana_logger::setup_file_with_default(&logfile, filter);
solana_logger::setup_file_with_default(&logfile, solana_logger::DEFAULT_FILTER);
None
}
}
Expand Down

0 comments on commit 2537e3e

Please sign in to comment.