From aa6e9f49975f36a0cd9916b9ea6966bec4d93f6a Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 12 Jun 2019 08:17:03 +1000 Subject: [PATCH] docs: added link to file mode docs --- docs/dateFile.md | 2 +- docs/file.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dateFile.md b/docs/dateFile.md index 1c087aa..3e46e43 100644 --- a/docs/dateFile.md +++ b/docs/dateFile.md @@ -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. diff --git a/docs/file.md b/docs/file.md index bc07c2e..87254f7 100644 --- a/docs/file.md +++ b/docs/file.md @@ -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`)