Skip to content

Commit

Permalink
Rename trace.log -> trace-turbopack to match .next/trace
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Aug 29, 2024
1 parent 1e493fc commit df3ee1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/napi/src/next_api/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub async fn project_new(
std::fs::create_dir_all(&internal_dir)
.context("Unable to create .next directory")
.unwrap();
let trace_file = internal_dir.join("trace.log");
let trace_file = internal_dir.join("trace-turbopack");
let trace_writer = std::fs::File::create(trace_file.clone()).unwrap();
let (trace_writer, trace_writer_guard) = TraceWriter::new(trace_writer);
let subscriber = subscriber.with(RawTraceLayer::new(trace_writer));
Expand Down

0 comments on commit df3ee1f

Please sign in to comment.