Skip to content

Commit 0e5ca89

Browse files
mtreerungrojmattberther
authored andcommitted
Update README.md (#103) to show default value of maxDays
1 parent 525a941 commit 0e5ca89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The DailyRotateFile transport can rotate files by minute, hour, day, month, year
3232
* __prepend:__ Defines if the rolling time of the log file should be prepended at the beginning of the filename (default 'false').
3333
* __localTime:__ A boolean to define whether time stamps should be local (default 'false' means that UTC time will be used).
3434
* __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).
3636
* __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.
3737

3838
Valid meta characters in the datePattern are:

0 commit comments

Comments
 (0)