This commit is contained in:
David Arranz 2024-09-08 22:03:29 +02:00
parent 53942e7fef
commit 904e30ebf8
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ npm-debug.log
build/
dist/
log/
client/.parcel-cache
yarn-debug.log*
yarn-error.log*

View File

@ -48,6 +48,7 @@ function initLogger(rTracer) {
transports: [
new DailyRotateFile({
dirname: "./log",
filename: "error-%DATE%.log",
datePattern: "YYYY-MM-DD",
utc: true,
@ -56,6 +57,7 @@ function initLogger(rTracer) {
maxFiles: "1d",
}),
new DailyRotateFile({
dirname: "./log",
filename: "debug-%DATE%.log",
datePattern: "YYYY-MM-DD",
utc: true,