You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/file.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ The file appender writes log events to a file. It supports an optional maximum f
6
6
7
7
*`type` - `"file"`
8
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 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.
11
11
*`layout` - (optional, defaults to basic layout) - see [layouts](layouts.md)
12
12
13
13
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