mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-26 01:21:17 -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 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={},http=warn,warp=warn",
|
||||||
level, level
|
level, level
|
||||||
))
|
))
|
||||||
.with_writer(std::io::stderr)
|
.with_writer(std::io::stderr)
|
||||||
|
@ -274,7 +274,7 @@ pub fn init_tracing() -> DefaultGuard {
|
|||||||
use tracing_subscriber::util::SubscriberInitExt as _;
|
use tracing_subscriber::util::SubscriberInitExt as _;
|
||||||
tracing_subscriber::fmt()
|
tracing_subscriber::fmt()
|
||||||
.with_env_filter(format!(
|
.with_env_filter(format!(
|
||||||
"{},swap={},xmr-btc={},monero_harness={},bitcoin_harness={}",
|
"{},swap={},xmr_btc={},monero_harness={},bitcoin_harness={}",
|
||||||
global_filter,
|
global_filter,
|
||||||
swap_filter,
|
swap_filter,
|
||||||
xmr_btc_filter,
|
xmr_btc_filter,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user