mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-22 06:45:41 +00:00
Speed up logging once again (#9981)
* Update `tracing`-related dependencies * Enable `parking_lot` feature in `tracing-subscriber` * Add an asynchronous stderr logger * Make clippy happy * Add an integration test for the logger * Refactor `test_logger_filters`'s subprocess machinery into a separate function * Use a child process instead of hooking into stderr for the test * Add a doc comment for `MakeStderrWriter` * Move the initialization into the `MakeStderrWriter`'s constructor * Add an extra test case to trigger the logger's emergency flush mechanism * Use the buffer's mutex for asynchronous flushes * Remove vestigial `nix` dependency from one of the previous commits
This commit is contained in:
@@ -17,6 +17,7 @@ ansi_term = "0.12.1"
|
||||
atty = "0.2.13"
|
||||
chrono = "0.4.19"
|
||||
lazy_static = "1.4.0"
|
||||
libc = "0.2.95"
|
||||
log = { version = "0.4.8" }
|
||||
once_cell = "1.8.0"
|
||||
parking_lot = "0.11.1"
|
||||
@@ -26,7 +27,7 @@ serde = "1.0.126"
|
||||
thiserror = "1.0.21"
|
||||
tracing = "0.1.29"
|
||||
tracing-log = "0.1.2"
|
||||
tracing-subscriber = "0.2.19"
|
||||
tracing-subscriber = { version = "0.2.25", features = ["parking_lot"] }
|
||||
sp-tracing = { version = "4.0.0-dev", path = "../../primitives/tracing" }
|
||||
sp-rpc = { version = "4.0.0-dev", path = "../../primitives/rpc" }
|
||||
sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" }
|
||||
|
||||
Reference in New Issue
Block a user