]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Decrease log file max size
authorChocobozzz <me@florianbigard.com>
Mon, 1 Oct 2018 12:52:26 +0000 (14:52 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 1 Oct 2018 13:20:13 +0000 (15:20 +0200)
server/helpers/logger.ts

index e1e3a1fe20f9dbea9f6a3fb7f0c623fc6a4056bd..203e637a8578d0918bb4530afda366ad5fd28611 100644 (file)
@@ -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(),