Remove console-subscriber (#8955)
It doubles CPU and RAM usage for not really enough benefit Release Notes: - N/A
This commit is contained in:
parent
deb86a1ffc
commit
8eb0239d5a
4 changed files with 0 additions and 141 deletions
|
@ -184,7 +184,6 @@ pub fn init_tracing(config: &Config) -> Option<()> {
|
|||
let filter = EnvFilter::from_str(config.rust_log.as_deref()?).log_err()?;
|
||||
|
||||
tracing_subscriber::registry()
|
||||
.with(console_subscriber::spawn())
|
||||
.with(if config.log_json.unwrap_or(false) {
|
||||
Box::new(
|
||||
tracing_subscriber::fmt::layer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue