mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
Append all cli logs to single log file
After careful consideration, I've concluded that it's not practical/possible to ensure that the previous behaviour (one log file per swap) is preserved due to limitations of the tracing-subscriber crate and a big in the built in JSON formatter
This commit is contained in:
parent
f804254f94
commit
433bf824f9
2 changed files with 29 additions and 48 deletions
|
|
@ -93,7 +93,7 @@ impl Context {
|
|||
let tor_socks5_port = tor.map(|tor| tor.tor_socks5_port);
|
||||
|
||||
START.call_once(|| {
|
||||
let _ = cli::tracing::init(debug, json, data_dir.join("logs"), None);
|
||||
let _ = cli::tracing::init(debug, json, data_dir.join("logs"));
|
||||
});
|
||||
|
||||
let context = Context {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue