projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1105b9
)
Decrease log file max size
author
Chocobozzz
<me@florianbigard.com>
Mon, 1 Oct 2018 12:52:26 +0000
(14:52 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Mon, 1 Oct 2018 13:20:13 +0000
(15:20 +0200)
server/helpers/logger.ts
patch
|
blob
|
history
diff --git
a/server/helpers/logger.ts
b/server/helpers/logger.ts
index e1e3a1fe20f9dbea9f6a3fb7f0c623fc6a4056bd..203e637a8578d0918bb4530afda366ad5fd28611 100644
(file)
--- a/
server/helpers/logger.ts
+++ b/
server/helpers/logger.ts
@@
-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(),