Skip to content

Commit

Permalink
fix: use only one terminating logger
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Feb 10, 2025
1 parent 5cac0a9 commit 306c793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/config/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const loggerConfig = defineConfig({
transport: {
pipeline: targets()
.pushIf(!app.inProduction, targets.pretty())
.pushIf(!app.inProduction, targets.file({ destination: 1 }))
.pushIf(app.inProduction, targets.file({ destination: 1 }))
.toArray(),
},
},
Expand Down

0 comments on commit 306c793

Please sign in to comment.