Skip to content

Commit

Permalink
Remove superfluous debug log statements (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaroneee authored Jul 11, 2024
1 parent 8b1793b commit 40af4e5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions js/core/src/tracing/localFileTraceStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ export class LocalFileTraceStore implements TraceStore {
await mutex.waitForUnlock();
const release = await mutex.acquire();
try {
logger.debug(
`acquired lock to write trace ${id} for trace name ${trace.displayName}`
);
const existing = await this.load(id);
if (existing) {
Object.keys(trace.spans).forEach(
Expand All @@ -97,10 +94,6 @@ export class LocalFileTraceStore implements TraceStore {
existing.endTime = trace.endTime;
trace = existing;
}
logger.debug(
`save trace ${id} with name ${trace.displayName} to ` +
path.resolve(this.storeRoot, `${id}`)
);
fs.writeFileSync(
path.resolve(this.storeRoot, `${id}`),
JSON.stringify(trace)
Expand Down

0 comments on commit 40af4e5

Please sign in to comment.