We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d894f57 commit faef3d2Copy full SHA for faef3d2
1 file changed
docs/fileSync.md
@@ -6,8 +6,8 @@ The sync file appender writes log events to a file, the only difference to the n
6
7
* `type` - `"fileSync"`
8
* `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.
+* `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.
11
* `layout` - (optional, defaults to basic layout) - see [layouts](layouts.md)
12
13
Any other configuration parameters will be passed to the underlying node.js core stream implementation:
0 commit comments