Skip to content

Commit

Permalink
Update crates/tracing/src/layers.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Shekhirin <[email protected]>
  • Loading branch information
loocapro and shekhirin authored Dec 22, 2023
1 parent f24f3c7 commit 80f0f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tracing/src/layers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl FileInfo {
) -> (tracing_appender::non_blocking::NonBlocking, WorkerGuard) {
let (writer, guard) = tracing_appender::non_blocking(
RollingFileAppender::new(
log_dir.join(AsRef::<Path>::as_ref(&self.file_name)),
log_dir.join(&self.file_name),
RollingConditionBasic::new().max_size(self.max_size_bytes),
self.max_files,
)
Expand Down

0 comments on commit 80f0f48

Please sign in to comment.