Skip to content

Commit

Permalink
v1.17: [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) (#287)

[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 29c004c commit 4d499a3
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 @@ -82,7 +82,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 4d499a3

Please sign in to comment.