Skip to content

Commit 436d9b4

Browse files
authored
Merge pull request #1148 from log4js-node/update-docs
chore(docs): updated fileSync.md and misc comments
2 parents 0ad0133 + d6b017e commit 436d9b4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/fileSync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The sync file appender writes log events to a file, the only difference to the n
1212

1313
Any other configuration parameters will be passed to the underlying node.js core stream implementation:
1414
* `encoding` - `string` (default "utf-8")
15-
* `mode`- `integer` (default 0600)
15+
* `mode`- `integer` (default 0o600 - [node.js file modes](https://nodejs.org/dist/latest-v12.x/docs/api/fs.html#fs_file_modes))
1616
* `flags` - `string` (default 'a')
1717

1818
## Example

types/log4js.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export interface DateFileAppender {
178178
pattern?: string;
179179
// default “utf-8”
180180
encoding?: string;
181-
// default 0644
181+
// default 0600
182182
mode?: number;
183183
// default ‘a’
184184
flags?: string;

0 commit comments

Comments
 (0)