Skip to content

Commit 6453e5d

Browse files
chore: Change level for OTLP logs and traces to INFO
Co-authored-by: Nick <[email protected]>
1 parent 861ded9 commit 6453e5d

File tree

1 file changed

+4
-4
lines changed
  • crates/stackable-telemetry/src/tracing

1 file changed

+4
-4
lines changed

crates/stackable-telemetry/src/tracing/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ impl Tracing {
305305
/// | ---------------- | ------------------------------------------ | ------------- |
306306
/// | Console logs | [`CONSOLE_LOG`](Self::CONSOLE_LOG_ENV_VAR) | `INFO` |
307307
/// | File logs | [`FILE_LOG`](Self::FILE_LOG_ENV_VAR) | `INFO` |
308-
/// | OTLP logs | [`OTLP_LOG`](Self::OTLP_LOG_ENV_VAR) | `DEBUG` |
309-
/// | OTLP traces | [`OTLP_TRACE`](Self::OTLP_TRACE_ENV_VAR) | `DEBUG` |
308+
/// | OTLP logs | [`OTLP_LOG`](Self::OTLP_LOG_ENV_VAR) | `INFO` |
309+
/// | OTLP traces | [`OTLP_TRACE`](Self::OTLP_TRACE_ENV_VAR) | `INFO` |
310310
///
311311
/// ### Default Values
312312
///
@@ -338,8 +338,8 @@ impl Tracing {
338338
.with_rotation_period(rolling_logs_period)
339339
.build()
340340
}))
341-
.with_otlp_log_exporter((Self::OTLP_LOG_ENV_VAR, LevelFilter::DEBUG, otlp_logs))
342-
.with_otlp_trace_exporter((Self::OTLP_TRACE_ENV_VAR, LevelFilter::DEBUG, otlp_traces))
341+
.with_otlp_log_exporter((Self::OTLP_LOG_ENV_VAR, LevelFilter::INFO, otlp_logs))
342+
.with_otlp_trace_exporter((Self::OTLP_TRACE_ENV_VAR, LevelFilter::INFO, otlp_traces))
343343
.build()
344344
}
345345

0 commit comments

Comments
 (0)