xiaozuoassistant 0.2.41 → 0.2.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26,7 +26,7 @@ const fileTransport = new winston.transports.DailyRotateFile({
|
|
|
26
26
|
datePattern: 'YYYY-MM-DD',
|
|
27
27
|
zippedArchive: true, // Archive old logs (gzip)
|
|
28
28
|
maxSize: '20m', // Rotate if size exceeds 20MB (optional safety)
|
|
29
|
-
maxFiles: '
|
|
29
|
+
maxFiles: '3d', // Keep logs for 3 days only
|
|
30
30
|
createSymlink: true, // Create a symlink 'app.log' pointing to current log
|
|
31
31
|
symlinkName: 'app.log',
|
|
32
32
|
level: 'info'
|