mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
chore(docs): updated fileSync appender docs
This commit is contained in:
parent
d894f57305
commit
faef3d20f6
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user