forwarder: Fix changing log level

Fix `-l <log-level>` for the trace forwarder which didn't work
previously as it lacked the magic Cargo configuration.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2021-10-26 10:56:58 +01:00
parent 6abccb92ce
commit a10cfffdff

View File

@ -28,7 +28,11 @@ tracing = "0.1.26"
tracing-subscriber = "0.2.18"
logging = { path = "../../pkg/logging" }
slog = "2.5.2"
# Note: The 'max_*' features allow changing the log level at runtime
# (by stopping the compiler from removing log calls).
slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "release_max_level_trace"] }
privdrop = "0.5.1"
[dev-dependencies]