Change server logging to be grouped by day instead of per hour

This commit is contained in:
Dev 2023-11-06 12:44:59 +00:00
parent 7daaf53dff
commit 4bce4b49f4

View File

@ -84,7 +84,7 @@ export abstract class AbstractWinstonLogger implements ILogger
new DailyRotateFile({ new DailyRotateFile({
level: "debug", level: "debug",
filename: this.filePath, filename: this.filePath,
datePattern: "YYYY-MM-DD-HH", datePattern: "YYYY-MM-DD",
zippedArchive: true, zippedArchive: true,
maxSize: this.getLogMaxSize(), maxSize: this.getLogMaxSize(),
maxFiles: this.getLogMaxFiles(), maxFiles: this.getLogMaxFiles(),