Split logs by date

Move the default location of the log files into a configurable logs
folder and split the written logs up by UTC date to more easily allow
deleting of old logs to be performed.  The log rotation is implemented
by winston-daily-rotate-file.

The old log format will automatically be migrated to the new format and
location if the target folder for the new logs don't yet exists.
This commit is contained in:
Hornwitser committed 2021-12-19 01:42:34 +01:00
1 parent 200ccf8e06
commit fd1f3329bd
5 files changed
+125 -9

No files matched your search

+1
View File
@@ -28,6 +28,7 @@
"jszip": "^3.2.2",
"set-blocking": "^2.0.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.5",
"ws": "^7.2.3",
"yargs": "^14.2.0"
},