Skip to content

Commit 5a1201f

Browse files
committed
Removed copyTracedFiles debug log
1 parent 7c2d8cf commit 5a1201f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/open-next/src/build/copyTracedFiles.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
} from "fs";
1212
import path from "path";
1313
import { NextConfig, PrerenderManifest } from "types/next-types";
14+
import logger from "../logger";
1415

1516
export async function copyTracedFiles(
1617
buildOutputPath: string,
@@ -19,7 +20,7 @@ export async function copyTracedFiles(
1920
routes: string[],
2021
bundledNextServer: boolean,
2122
) {
22-
console.time("copyTracedFiles");
23+
const tsStart = Date.now();
2324
const dotNextDir = path.join(buildOutputPath, ".next");
2425
const standaloneDir = path.join(dotNextDir, "standalone");
2526
const standaloneNextDir = path.join(standaloneDir, packagePath, ".next");
@@ -232,5 +233,5 @@ export async function copyTracedFiles(
232233
});
233234
}
234235

235-
console.timeEnd("copyTracedFiles");
236+
logger.debug("copyTracedFiles:", Date.now() - tsStart, "ms");
236237
}

0 commit comments

Comments
 (0)