From 4bce4b49f422c76089a0aaf9780f3bcfbbfb318f Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 6 Nov 2023 12:44:59 +0000 Subject: [PATCH] Change server logging to be grouped by day instead of per hour --- project/src/utils/logging/AbstractWinstonLogger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/utils/logging/AbstractWinstonLogger.ts b/project/src/utils/logging/AbstractWinstonLogger.ts index b0df5b7f..9d8dd79b 100644 --- a/project/src/utils/logging/AbstractWinstonLogger.ts +++ b/project/src/utils/logging/AbstractWinstonLogger.ts @@ -84,7 +84,7 @@ export abstract class AbstractWinstonLogger implements ILogger new DailyRotateFile({ level: "debug", filename: this.filePath, - datePattern: "YYYY-MM-DD-HH", + datePattern: "YYYY-MM-DD", zippedArchive: true, maxSize: this.getLogMaxSize(), maxFiles: this.getLogMaxFiles(),