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

fix: use the correct log filter for non-unix
This commit is contained in:
Yihau Chen 2024-03-15 11:27:16 +08:00 committed by GitHub
parent f5a3f2476a
commit 2537e3e4ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}