xmr-btc-swap/swap/src
Byron Hambly 8eff499a63
fix: change logs to UTC due to bug in time crate
On Linux and macOS, no program output was being observed.
This is referenced in the [LocalTime] docs for `tracing-subscriber`,
which links to this [unsoundness issue] in the time crate.

Rather than introducing a possible vector for undefined behaviour and
segfaults, I have just changed the logging to use UTC time instead.

When running the ASB as a systemd service, one would generally use the
`--disable-timestamps` flag anyway as systemd adds its own timestamps
which can be local to the server.

If the situation with `tracing-subscriber` and the time crate is fixed
then this can be updated.

This commit also updates the `tracing-subscriber` and `tracing-appender`
dependencies, closing #987.

[LocalTime]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/time/struct.LocalTime.html
[unsoundness issue]: https://github.com/time-rs/time/issues/293#issuecomment-748151025
2022-07-26 14:16:41 +02:00
..
asb fix: change logs to UTC due to bug in time crate 2022-07-26 14:16:41 +02:00
bin Implement Identify protocol to make network and version of ASB available to peers 2022-04-19 19:48:41 +02:00
bitcoin Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
cli fix: change logs to UTC due to bug in time crate 2022-07-26 14:16:41 +02:00
database Record the monero-wallet-restore blockcheight before locking BTC 2021-12-23 10:12:23 +11:00
monero Update from monero v17.2.0 to monero v17.3.0 2022-01-23 14:37:09 +01:00
network Implement Identify protocol to make network and version of ASB available to peers 2022-04-19 19:48:41 +02:00
protocol Merge #934 2022-04-14 08:26:03 +00:00
asb.rs Add isolated test for list_sellers function 2021-07-06 20:03:53 +10:00
bitcoin.rs Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
cli.rs Implement default for rendezvous point behaviour 2021-10-14 11:27:43 +11:00
database.rs Remove support for the sled database 2021-10-15 10:04:10 +11:00
env.rs Reduce required confirmations for Bitcoin transactions from 2 to 1 2022-04-13 16:16:36 +02:00
fs.rs Improve logging by adding details as fields instead of into the msg. 2021-05-11 15:27:53 +10:00
kraken.rs Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
lib.rs Ensure the size of our locking script never changes 2021-08-12 18:39:31 +10:00
libp2p_ext.rs Merge --seller-addr and --seller-peer-id into --seller parameter 2021-07-06 14:51:08 +10:00
monero_ext.rs Upgrade to bdk 4.0 2021-02-19 15:18:37 +11:00
monero.rs Adjust quote based on Bitcoin balance 2022-03-07 19:30:31 +01:00
network.rs Remove empty modules 2021-08-18 12:35:47 +10:00
proptest.rs Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
protocol.rs Create Database trait 2021-09-30 18:56:52 +10:00
seed.rs Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
tor.rs Make use of torut's errors implementing std::error::Error 2021-07-06 14:46:00 +10:00
tracing_ext.rs fix: change logs to UTC due to bug in time crate 2022-07-26 14:16:41 +02:00