diff --git a/docs/fileSync.md b/docs/fileSync.md index 380982d..da5d906 100644 --- a/docs/fileSync.md +++ b/docs/fileSync.md @@ -12,7 +12,7 @@ The sync file appender writes log events to a file, the only difference to the n Any other configuration parameters will be passed to the underlying node.js core stream implementation: * `encoding` - `string` (default "utf-8") -* `mode`- `integer` (default 0600) +* `mode`- `integer` (default 0o600 - [node.js file modes](https://nodejs.org/dist/latest-v12.x/docs/api/fs.html#fs_file_modes)) * `flags` - `string` (default 'a') ## Example diff --git a/types/log4js.d.ts b/types/log4js.d.ts index b7946da..51873b4 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -178,7 +178,7 @@ export interface DateFileAppender { pattern?: string; // default “utf-8” encoding?: string; - // default 0644 + // default 0600 mode?: number; // default ‘a’ flags?: string;