Default log level to to RUST_LOG=solana=info (#5296)

This commit is contained in:
Michael Vines
2019-07-26 16:29:16 -07:00
committed by GitHub
parent 20da2604f8
commit c63a38ae57
5 changed files with 4 additions and 5 deletions

View File

@ -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();
});