Merge pull request #111 from comit-network/trace-xmr-btc

Fix tracing subscribe filter for xmr-btc`
This commit is contained in:
Daniel Karzel 2020-12-22 16:17:27 +11:00 committed by GitHub
commit 8296490764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -261,7 +261,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,