1
0
Fork 0

Decrease log file max size

This commit is contained in:
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

View 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(),