mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Merge pull request #111 from comit-network/trace-xmr-btc
Fix tracing subscribe filter for xmr-btc`
This commit is contained in:
commit
8296490764
@ -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)
|
||||||
|
@ -261,7 +261,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…
Reference in New Issue
Block a user