From 1bd765ee5fc7c0bcb5b3aedcac4d24722d5c2b54 Mon Sep 17 00:00:00 2001 From: Yihau Chen Date: Fri, 15 Mar 2024 11:27:16 +0800 Subject: [PATCH] [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 2537e3e4ad1ebdfe833fa8b34249382fdb2198b9) --- validator/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/src/lib.rs b/validator/src/lib.rs index 9ed2aeab6470a3..e358f6a7e9d887 100644 --- a/validator/src/lib.rs +++ b/validator/src/lib.rs @@ -77,7 +77,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 } }