mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-07 22:03:14 +00:00
remove logs
This commit is contained in:
@@ -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: {}",
|
||||
|
||||
Reference in New Issue
Block a user