mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
docs: added link to file mode docs
This commit is contained in:
parent
30b7728b53
commit
aa6e9f4997
@ -11,7 +11,7 @@ This is a file appender that rolls log files based on a configurable time, rathe
|
||||
|
||||
Any other configuration parameters will be passed to the underlying [streamroller](https://github.com/nomiddlename/streamroller) implementation (see also node.js core file streams):
|
||||
* `encoding` - `string` (default "utf-8")
|
||||
* `mode`- `integer` (default 0644)
|
||||
* `mode`- `integer` (default 0o644 - [node.js file modes](https://nodejs.org/dist/latest-v12.x/docs/api/fs.html#fs_file_modes))
|
||||
* `flags` - `string` (default 'a')
|
||||
* `compress` - `boolean` (default false) - compress the backup files during rolling (backup files will have `.gz` extension)
|
||||
* `alwaysIncludePattern` - `boolean` (default false) - include the pattern in the name of the current log file as well as the backups.
|
||||
|
||||
@ -12,7 +12,7 @@ The file appender writes log events to a file. It supports an optional maximum f
|
||||
|
||||
Any other configuration parameters will be passed to the underlying [streamroller](https://github.com/nomiddlename/streamroller) implementation (see also node.js core file streams):
|
||||
* `encoding` - `string` (default "utf-8")
|
||||
* `mode`- `integer` (default 0644)
|
||||
* `mode`- `integer` (default 0o644 - [node.js file modes](https://nodejs.org/dist/latest-v12.x/docs/api/fs.html#fs_file_modes))
|
||||
* `flags` - `string` (default 'a')
|
||||
* `compress` - `boolean` (default false) - compress the backup files during rolling (backup files will have `.gz` extension)
|
||||
* `keepFileExt` - `boolean` (default false) - preserve the file extension when rotating log files (`file.log` becomes `file.1.log` instead of `file.log.1`)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user