You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ The DailyRotateFile transport can rotate files by minute, hour, day, month, year
32
32
*__prepend:__ Defines if the rolling time of the log file should be prepended at the beginning of the filename (default 'false').
33
33
*__localTime:__ A boolean to define whether time stamps should be local (default 'false' means that UTC time will be used).
34
34
*__zippedArchive:__ A boolean to define whether or not to gzip archived log files (default 'false').
35
-
*__maxDays:__ A number representing the maximum number of days a log file will be saved. Any log file older than this specified number of days will be removed. If not value or a 0, no log files will be removed.
35
+
*__maxDays:__ A number representing the maximum number of days a log file will be saved. Any log file older than this specified number of days will be removed. If not value or a 0, no log files will be removed (default 0).
36
36
*__createTree:__ When combined with a `datePattern` that includes path delimiters, the transport will create the entire folder tree to the log file. Example: `datePattern: '/yyyy/MM/dd.log', createTree: true` will create the entire path to the log file prior to writing an entry.
0 commit comments