mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
[fix]change wrong property name, from 'numBackups' to 'backups'
This commit is contained in:
parent
86333dc57d
commit
149c102fda
@ -7,7 +7,7 @@ log4js.configure(
|
||||
type: 'file',
|
||||
filename: 'important-things.log',
|
||||
maxLogSize: 10 * 1024 * 1024, // = 10Mb
|
||||
numBackups: 5, // keep five backup files
|
||||
backups: 5, // keep five backup files
|
||||
compress: true, // compress the backups
|
||||
encoding: 'utf-8',
|
||||
mode: 0o0640,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user