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
4 changed files with 0 additions and 141 deletions
-1
View File
@@ -17,7 +17,6 @@ name = "collab"
name = "seed"
[dependencies]
console-subscriber = "0.2"
anyhow.workspace = true
async-tungstenite = "0.16"
aws-config = { version = "1.1.5" }
-2
View File
@@ -70,8 +70,6 @@ spec:
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 6669
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
-1
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()