remove logs

This commit is contained in:
houseme
2025-04-28 21:16:07 +08:00
parent 82c8b7f308
commit 95ababe7a8
2 changed files with 2 additions and 9 deletions
-7
View File
@@ -230,13 +230,6 @@ pub fn init_telemetry(config: &OtelConfig) -> OtelGuard {
.with(otel_layer)
.with(MetricsLayer::new(meter_provider.clone()))
.init();
info!("Telemetry logging enabled: {:?}", config.local_logging_enabled);
// if config.local_logging_enabled.unwrap_or(false) {
// registry.with(fmt_layer).init();
// } else {
// registry.init();
// }
if !endpoint.is_empty() {
info!(
"OpenTelemetry telemetry initialized with OTLP endpoint: {}, logger_level: {}",