File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/stackable-telemetry/src/tracing Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ pub enum Error {
149
149
/// Settings::builder()
150
150
/// .with_environment_variable("TEST_FILE_LOG")
151
151
/// .with_default_level(LevelFilter::INFO)
152
- /// .file_log_settings_builder("/tmp/logs")
152
+ /// .file_log_settings_builder("/tmp/logs", "tracing-rs.log" )
153
153
/// .build()
154
154
/// )
155
155
/// .with_otlp_log_exporter(otlp_log_flag.then(|| {
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ mod test {
113
113
let result = Settings :: builder ( )
114
114
. with_environment_variable ( "hello" )
115
115
. with_default_level ( LevelFilter :: DEBUG )
116
- . file_log_settings_builder ( PathBuf :: from ( "/logs" ) , "tracing-rs.json " )
116
+ . file_log_settings_builder ( PathBuf :: from ( "/logs" ) , "tracing-rs.log " )
117
117
. with_rotation_period ( Rotation :: HOURLY )
118
118
. with_max_log_files ( 6 )
119
119
. build ( ) ;
You can’t perform that action at this time.
0 commit comments