Add maxLogFiles option (#6296)

https://community.parseplatform.org/t/server-log-retention/867/2

Maximum number of logs to keep. If not set, no logs will be removed. This can be a number of files or number of days. If using days, add 'd' as the suffix. (default: null).

I'll run this in production for a few days. I assume it works.

Useful for saving disk space.

Update winston-daily-rotate-file package to 4.4.0
This commit is contained in:
Diamond Lewis
2019-12-24 11:35:28 -06:00
committed by GitHub
parent 49a0405e8f
commit 1a99cb3f2e
8 changed files with 59 additions and 57 deletions

View File

@@ -54,7 +54,7 @@
"tv4": "1.3.0",
"uuid": "3.3.3",
"winston": "3.2.1",
"winston-daily-rotate-file": "3.10.0",
"winston-daily-rotate-file": "4.4.0",
"ws": "7.2.1"
},
"devDependencies": {