From f26b8becbb2a4754895ebc52519dd511ea2efa5d Mon Sep 17 00:00:00 2001 From: Jacob Kopczynski Date: Thu, 12 May 2022 07:46:39 -0700 Subject: [PATCH] keep large daily logs, not N short logs per day (#298) 'daysToKeep' is deprecated without any replacement available, so this is necessary to guarantee that it's keeping the same amount of log history Signed-off-by: Jacob Kopczynski --- app/common/helper.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/common/helper.ts b/app/common/helper.ts index e6aa469cf..ccae382d9 100644 --- a/app/common/helper.ts +++ b/app/common/helper.ts @@ -75,20 +75,17 @@ export class helper { app: { type: 'dateFile', filename: appLog, - maxLogSize: 8 * 1024 * 1024, - daysToKeep: 7 + numBackups: 7 }, db: { type: 'dateFile', filename: dbLog, - maxLogSize: 8 * 1024 * 1024, - daysToKeep: 7 + numBackups: 7 }, console: { type: 'dateFile', filename: consoleLog, - maxLogSize: 8 * 1024 * 1024, - daysToKeep: 7 + numBackups: 7 }, consoleFilter: { type: 'logLevelFilter',