Remove console-subscriber (#8955)

It doubles CPU and RAM usage for not really enough benefit

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-03-06 10:26:59 -07:00 committed by GitHub
parent deb86a1ffc
commit 8eb0239d5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 141 deletions

View file

@ -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()