Allow override of RUST_LOG (#7705)

This commit is contained in:
Jack May
2020-01-08 09:19:12 -08:00
committed by GitHub
parent 2f5f8e7afd
commit 07855e3125
10 changed files with 32 additions and 18 deletions

View File

@@ -48,7 +48,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
let json_rpc_url = value_t_or_exit!(matches, "json_rpc_url", String);
let validator_identity = pubkey_of(&matches, "validator_identity").map(|i| i.to_string());
solana_logger::setup_with_filter("solana=info");
solana_logger::setup_with_default("solana=info");
solana_metrics::set_panic_hook("watchtower");
let rpc_client = RpcClient::new(json_rpc_url);