diff --git a/CHANGELOG.md b/CHANGELOG.md index c65088c1..d6722ea7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Revert logs to use rfc3339 local time formatting. +- Always write logs as JSON to files ## [0.10.2] - 2021-12-25 diff --git a/swap/src/cli/tracing.rs b/swap/src/cli/tracing.rs index 5ed58231..3bafc229 100644 --- a/swap/src/cli/tracing.rs +++ b/swap/src/cli/tracing.rs @@ -20,27 +20,22 @@ pub fn init(debug: bool, json: bool, dir: impl AsRef, swap_id: Option