Decrease log file max size
This commit is contained in:
parent
d1105b97ef
commit
7361c401b1
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue