diff --git a/validator/src/lib.rs b/validator/src/lib.rs index fab90fa98e06ca..83fbb1c82d01f7 100644 --- a/validator/src/lib.rs +++ b/validator/src/lib.rs @@ -82,7 +82,7 @@ pub fn redirect_stderr_to_file(logfile: Option) -> Option #[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 } }