Skip to content

Commit d894f57

Browse files
committed
chore(docs): updated file appender docs
1 parent e450867 commit d894f57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ The file appender writes log events to a file. It supports an optional maximum f
66

77
* `type` - `"file"`
88
* `filename` - `string` - the path of the file where you want your logs written.
9-
* `maxLogSize` - `integer` (optional) - the maximum size (in bytes) for the log file. If not specified, then no log rolling will happen.
10-
* `backups` - `integer` (optional, default to 5) - the number of old log files to keep during log rolling.
9+
* `maxLogSize` - `integer` (optional, defaults to MAX_SAFE_INTEGER) - the maximum size (in bytes) for the log file.
10+
* `backups` - `integer` (optional, defaults to 5) - the number of old log files to keep during log rolling.
1111
* `layout` - (optional, defaults to basic layout) - see [layouts](layouts.md)
1212

1313
Any other configuration parameters will be passed to the underlying [streamroller](https://github.com/nomiddlename/streamroller) implementation (see also node.js core file streams):

0 commit comments

Comments
 (0)