Skip to content

Commit

Permalink
v1.18: [anza migration] fix: use the correct log filter for non-unix …
Browse files Browse the repository at this point in the history
…(backport of #245) (#288)

[anza migration] fix: use the correct log filter for non-unix (#245)

fix: use the correct log filter for non-unix
(cherry picked from commit 2537e3e)

Co-authored-by: Yihau Chen <[email protected]>
  • Loading branch information
mergify[bot] and yihau authored Mar 19, 2024
1 parent e9bc805 commit ae7da14
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 ae7da14

Please sign in to comment.