mirror of https://github.com/Chocobozzz/PeerTube
Decrease log file max size
parent
d1105b97ef
commit
7361c401b1
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue