From 7361c401b17415931f25f3a2137ba22a06a6a4ed Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 1 Oct 2018 14:52:26 +0200 Subject: [PATCH] Decrease log file max size --- server/helpers/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/helpers/logger.ts b/server/helpers/logger.ts index e1e3a1fe2..203e637a8 100644 --- a/server/helpers/logger.ts +++ b/server/helpers/logger.ts @@ -56,7 +56,7 @@ const logger = winston.createLogger({ new winston.transports.File({ filename: path.join(CONFIG.STORAGE.LOG_DIR, 'peertube.log'), handleExceptions: true, - maxsize: 1024 * 1024 * 30, + maxsize: 1024 * 1024 * 12, maxFiles: 5, format: winston.format.combine( winston.format.timestamp(), -- 2.25.1