[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:
parent
f5a3f2476a
commit
2537e3e4ad
|
@ -77,7 +77,7 @@ pub fn redirect_stderr_to_file(logfile: Option<String>) -> Option<JoinHandle<()>
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
{
|
{
|
||||||
println!("logrotate is not supported on this platform");
|
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
|
None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue