From faef3d20f643a9e1a29883f493cdbe893a47de77 Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Tue, 8 Mar 2022 17:25:51 +0800 Subject: [PATCH] chore(docs): updated fileSync appender docs --- docs/fileSync.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fileSync.md b/docs/fileSync.md index da5d906..a73ca26 100644 --- a/docs/fileSync.md +++ b/docs/fileSync.md @@ -6,8 +6,8 @@ The sync file appender writes log events to a file, the only difference to the n * `type` - `"fileSync"` * `filename` - `string` - the path of the file where you want your logs written. -* `maxLogSize` - `integer` (optional) - the maximum size (in bytes) for the log file. If not specified, then no log rolling will happen. -* `backups` - `integer` (optional, default value = 5) - the number of old log files to keep during log rolling. +* `maxLogSize` - `integer` (optional) - the maximum size (in bytes) for the log file. If not specified or 0, then no log rolling will happen. +* `backups` - `integer` (optional, defaults to 5) - the number of old log files to keep during log rolling. * `layout` - (optional, defaults to basic layout) - see [layouts](layouts.md) Any other configuration parameters will be passed to the underlying node.js core stream implementation: