xmr-btc-swap/swap
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
..
migrations Add sqlite database implementation 2021-09-30 18:59:12 +10:00
proptest-regressions/bitcoin Add proptest for max_giveable and signing PSBT 2021-08-12 18:42:00 +10:00
src fix: change logs to UTC due to bug in time crate 2022-07-26 14:16:41 +02:00
tests Implement Identify protocol to make network and version of ASB available to peers 2022-04-19 19:48:41 +02:00
build.rs Provide a commit-specific version output 2021-07-07 17:55:13 +10:00
Cargo.toml fix: change logs to UTC due to bug in time crate 2022-07-26 14:16:41 +02:00
sqlite_dev_setup.sh Add sqlite database implementation 2021-09-30 18:59:12 +10:00
sqlx-data.json Add sqlite database implementation 2021-09-30 18:59:12 +10:00