mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
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:
parent
6abccb92ce
commit
a10cfffdff
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user