Decrease log file max size

pull/1162/head
Chocobozzz 2018-10-01 14:52:26 +02:00
parent d1105b97ef
commit 7361c401b1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ const logger = winston.createLogger({
new winston.transports.File({ new winston.transports.File({
filename: path.join(CONFIG.STORAGE.LOG_DIR, 'peertube.log'), filename: path.join(CONFIG.STORAGE.LOG_DIR, 'peertube.log'),
handleExceptions: true, handleExceptions: true,
maxsize: 1024 * 1024 * 30, maxsize: 1024 * 1024 * 12,
maxFiles: 5, maxFiles: 5,
format: winston.format.combine( format: winston.format.combine(
winston.format.timestamp(), winston.format.timestamp(),