Add log rotation utility with file management and cleanup
- Implemented log rotation module with configurable size and age-based log management - Added utility functions to parse log file sizes and retention durations - Created methods for identifying, filtering, and cleaning up old log files - Integrated log rotation initialization in the main application entry point - Added periodic checks for log file size and age-based cleanup
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
"@types/ajv": "^1.0.0",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/express-rate-limit": "^6.0.0",
|
||||
"@types/glob": "^8.1.0",
|
||||
"@types/helmet": "^4.0.0",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^20.17.16",
|
||||
|
||||
Reference in New Issue
Block a user