Remove console-subscriber (#8955)
It doubles CPU and RAM usage for not really enough benefit Release Notes: - N/A
This commit is contained in:
@@ -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" }
|
||||
|
||||
@@ -70,8 +70,6 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
protocol: TCP
|
||||
- containerPort: 6669
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user