Skip to content

Commit faef3d2

Browse files
committed
chore(docs): updated fileSync appender docs
1 parent d894f57 commit faef3d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/fileSync.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ The sync file appender writes log events to a file, the only difference to the n
66

77
* `type` - `"fileSync"`
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 value = 5) - the number of old log files to keep during log rolling.
9+
* `maxLogSize` - `integer` (optional) - the maximum size (in bytes) for the log file. If not specified or 0, then no log rolling will happen.
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 node.js core stream implementation:

0 commit comments

Comments
 (0)