mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-28 17:09:37 -05:00
Fix tracing subscribe filter for xmr-btc`
This commit is contained in:
parent
b05a96d49b
commit
5f8b7f2624
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user