mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-30 18:18:49 -04:00
Make tracing file appender blocking (#1643)
This commit is contained in:
parent
2f28ef9401
commit
0ca98cd0b7
1 changed files with 0 additions and 1 deletions
|
@ -13,7 +13,6 @@ pub fn init(debug: bool, json: bool, dir: impl AsRef<Path>) -> Result<()> {
|
|||
let registry = Registry::default().with(level_filter);
|
||||
|
||||
let appender = tracing_appender::rolling::never(dir.as_ref(), "swap-all.log");
|
||||
let (appender, _guard) = tracing_appender::non_blocking(appender);
|
||||
|
||||
let file_logger = registry.with(
|
||||
fmt::layer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue