Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve time formatting of log output
Previously, the time was formatted as ISO8601 timestamps which is barely readable by humans. Activating the `chrono` feature allows us to format with a different format string. The output now looks like this: 2021-03-01 11:59:52 DEBUG Database and seed will be stored in /home/thomas/.local/share/xmr-btc-swap 2021-03-01 11:59:52 DEBUG Starting monero-wallet-rpc on port 40673 2021-03-01 11:59:59 DEBUG Still got 0.00009235 BTC left in wallet, swapping ... 2021-03-01 11:59:59 DEBUG Dialing alice at 12D3KooWCdMKjesXMJz1SiZ7HgotrxuqhQJbP5sgBm2BwP1cqThi 2021-03-01 11:59:59 DEBUG Requesting quote for 0.00008795 BTC There is a double space after the time which is already fixed in tracing-subscriber but not yet released. See tokio-rs/tracing#1271.
- Loading branch information