diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-01 14:52:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-01 15:20:13 +0200 |
commit | 7361c401b17415931f25f3a2137ba22a06a6a4ed (patch) | |
tree | 7ee2ca481a196690f85f452f06e6c36d62055f07 | |
parent | d1105b97ef0b18626ad3b91e80b03d477baff8c6 (diff) | |
download | PeerTube-7361c401b17415931f25f3a2137ba22a06a6a4ed.tar.gz PeerTube-7361c401b17415931f25f3a2137ba22a06a6a4ed.tar.zst PeerTube-7361c401b17415931f25f3a2137ba22a06a6a4ed.zip |
Decrease log file max size
-rw-r--r-- | server/helpers/logger.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/logger.ts b/server/helpers/logger.ts index e1e3a1fe2..203e637a8 100644 --- a/server/helpers/logger.ts +++ b/server/helpers/logger.ts | |||
@@ -56,7 +56,7 @@ const logger = winston.createLogger({ | |||
56 | new winston.transports.File({ | 56 | new winston.transports.File({ |
57 | filename: path.join(CONFIG.STORAGE.LOG_DIR, 'peertube.log'), | 57 | filename: path.join(CONFIG.STORAGE.LOG_DIR, 'peertube.log'), |
58 | handleExceptions: true, | 58 | handleExceptions: true, |
59 | maxsize: 1024 * 1024 * 30, | 59 | maxsize: 1024 * 1024 * 12, |
60 | maxFiles: 5, | 60 | maxFiles: 5, |
61 | format: winston.format.combine( | 61 | format: winston.format.combine( |
62 | winston.format.timestamp(), | 62 | winston.format.timestamp(), |