mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 17:01:07 +00:00
Disable log reloading by default (#9966)
* Disable log reloading by default
This disables the log reloading that was enabled by default. The problem
is that the log reload implementation of `tracing` is using a lock to
make the layer replaceable. This lock needs to be locked every time we
need to check if a particular target is enabled (assuming the log level
is high enough). This kills the performance when for example
`sometarget=trace` logging is enabled.
* 🤦
* Remove unused parameter
* Fix test
* Fix
This commit is contained in:
1 parent
36d25d4994
commit
f4b287c7c4
8 files changed
+19
-20
No files matched your search
@@ -274,7 +274,6 @@ fn node_config<
|
||||
announce_block: true,
|
||||
base_path: Some(BasePath::new(root)),
|
||||
informant_output_format: Default::default(),
|
||||
disable_log_reloading: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user