You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xmr-btc-swap/swap/src/cli
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
2 years ago
..
behaviour.rs Implement Identify protocol to make network and version of ASB available to peers 2 years ago
cancel.rs Record the monero-wallet-restore blockcheight before locking BTC 3 years ago
command.rs Implement Identify protocol to make network and version of ASB available to peers 2 years ago
event_loop.rs Update dependencies and rust-toolchain to 1.59 2 years ago
list_sellers.rs Update dependencies and rust-toolchain to 1.59 2 years ago
refund.rs Record the monero-wallet-restore blockcheight before locking BTC 3 years ago
tracing.rs fix: change logs to UTC due to bug in time crate 2 years ago
transport.rs Refactor transports to construct them specific for each application 3 years ago