From 5aecfd638d51dd932230f8db70d61678e61abd34 Mon Sep 17 00:00:00 2001 From: Justin Abrahms Date: Mon, 8 Jan 2024 12:03:56 -0800 Subject: [PATCH] The gateway should not call initialize_tracing Initializing tracing is the responsibility of a surrounding binary, not library code. --- rust/noosphere-gateway/src/gateway.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/rust/noosphere-gateway/src/gateway.rs b/rust/noosphere-gateway/src/gateway.rs index 587f3585d..689b15217 100644 --- a/rust/noosphere-gateway/src/gateway.rs +++ b/rust/noosphere-gateway/src/gateway.rs @@ -48,8 +48,6 @@ impl Gateway { C: HasMutableSphereContext + 'static, S: Storage + 'static, { - initialize_tracing(None); - let mut cors = CorsLayer::new(); if let Some(cors_origin) = cors_origin {