mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +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:
@@ -118,8 +118,6 @@ pub struct Configuration {
|
||||
pub dev_key_seed: Option<String>,
|
||||
/// Tracing targets
|
||||
pub tracing_targets: Option<String>,
|
||||
/// Is log filter reloading disabled
|
||||
pub disable_log_reloading: bool,
|
||||
/// Tracing receiver
|
||||
pub tracing_receiver: sc_tracing::TracingReceiver,
|
||||
/// The size of the instances cache.
|
||||
|
||||
Reference in New Issue
Block a user