Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/metal-insects-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@atlaspack/rust': patch
---

print the log directory if any tracing mode is active
6 changes: 6 additions & 0 deletions crates/atlaspack_monitoring/src/tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ impl Tracer {
.to_string();
let prefix = "atlaspack-tracing".to_string();
let max_files = 4;

// Print the log directory if any tracing mode is active
if !options.is_empty() {
println!("Atlaspack tracing logs → {directory}/");
}

let file_appender = tracing_appender::rolling::Builder::new()
.rotation(tracing_appender::rolling::Rotation::HOURLY)
.max_log_files(max_files as usize)
Expand Down
Loading