Default log level to to RUST_LOG=solana=info (#5296)
This commit is contained in:
@ -9,7 +9,7 @@ static INIT: Once = Once::new();
|
||||
/// Setup function that is only run once, even if called multiple times.
|
||||
pub fn setup() {
|
||||
INIT.call_once(|| {
|
||||
env_logger::Builder::from_default_env()
|
||||
env_logger::Builder::from_env(env_logger::Env::new().default_filter_or("solana=info"))
|
||||
.default_format_timestamp_nanos(true)
|
||||
.init();
|
||||
});
|
||||
|
Reference in New Issue
Block a user