Log bitcoin harness and monero harness

This commit is contained in:
Daniel Karzel 2021-01-04 19:23:05 +11:00
parent dd10e68db4
commit 1f7e72b230

View File

@ -15,8 +15,8 @@ pub fn init_tracing(level: log::LevelFilter) -> anyhow::Result<()> {
let is_terminal = atty::is(atty::Stream::Stderr); let is_terminal = atty::is(atty::Stream::Stderr);
let subscriber = FmtSubscriber::builder() let subscriber = FmtSubscriber::builder()
.with_env_filter(format!( .with_env_filter(format!(
"swap={},xmr_btc={},http=warn,warp=warn", "swap={},xmr_btc={},monero_harness={},bitcoin_harness={},http=warn,warp=warn",
level, level level, level, level, level
)) ))
.with_writer(std::io::stderr) .with_writer(std::io::stderr)
.with_ansi(is_terminal) .with_ansi(is_terminal)