From ae7da14ef0ae56bd6b7b17e1be226b4b1fac84b9 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 14:20:51 +0800 Subject: [PATCH] v1.18: [anza migration] fix: use the correct log filter for non-unix (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 2537e3e4ad1ebdfe833fa8b34249382fdb2198b9) Co-authored-by: Yihau Chen --- 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 } }