Configure binary tracing level for xmr_btc and monero_harness

This commit is contained in:
Lucas Soriano del Pino 2020-11-06 15:39:42 +11:00 committed by rishflab
parent 5dede0f361
commit 33b36c98fa

View File

@ -14,7 +14,10 @@ pub fn init_tracing(level: log::LevelFilter) -> anyhow::Result<()> {
let is_terminal = atty::is(Stream::Stdout);
let subscriber = FmtSubscriber::builder()
.with_env_filter(format!("swap={}", level))
.with_env_filter(format!(
"swap={},xmr_btc={},monero_harness={}",
level, level, level
))
.with_ansi(is_terminal)
.finish();