Skip to content

Commit

Permalink
chore: remove log files
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Apr 28, 2023
1 parent 258c0a8 commit cacdeee
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/utils/backend/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ const transports: winston.transport[] = [
})
]

if (process.env.NODE_ENV === "production") {
transports.push(
new winston.transports.File({
filename: "logs/error.log",
level: "error"
}),
new winston.transports.File({ filename: "logs/all.log" })
)
}

export default winston.createLogger({
format,
transports
Expand Down

0 comments on commit cacdeee

Please sign in to comment.