Skip to content

Commit 8eee302

Browse files
committed
chore: Change filename suffix to "json"
1 parent ca78f5f commit 8eee302

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ impl Tracing {
285285
/// The environment variable used to set the rolling file log level filter.
286286
pub const FILE_LOG_ENV_VAR: &str = "FILE_LOG";
287287
/// The filename used for the rolling file logs.
288-
pub const FILE_LOG_NAME: &str = "operator.log";
288+
pub const FILE_LOG_SUFFIX: &str = "json";
289289
/// The environment variable used to set the OTLP log level filter.
290290
pub const OTLP_LOG_ENV_VAR: &str = "OTLP_LOG";
291291
/// The environment variable used to set the OTLP trace level filter.
@@ -323,7 +323,7 @@ impl Tracing {
323323
Settings::builder()
324324
.with_environment_variable(Self::FILE_LOG_ENV_VAR)
325325
.with_default_level(LevelFilter::INFO)
326-
.file_log_settings_builder(log_directory, Self::FILE_LOG_NAME)
326+
.file_log_settings_builder(log_directory, Self::FILE_LOG_SUFFIX)
327327
.with_rotation_period(rolling_logs_period)
328328
.build()
329329
}))

0 commit comments

Comments
 (0)