Fix tracing subscribe filter for xmr-btc`

This commit is contained in:
Daniel Karzel 2020-12-22 14:11:55 +11:00
parent b05a96d49b
commit 5f8b7f2624
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -274,7 +274,7 @@ pub fn init_tracing() -> DefaultGuard {
use tracing_subscriber::util::SubscriberInitExt as _;
tracing_subscriber::fmt()
.with_env_filter(format!(
"{},swap={},xmr-btc={},monero_harness={},bitcoin_harness={}",
"{},swap={},xmr_btc={},monero_harness={},bitcoin_harness={}",
global_filter,
swap_filter,
xmr_btc_filter,