Merge pull request #807 from jiro4989/hotfix/fix_example_code

[fix]change wrong property name, from 'numBackups' to 'backups'
This commit is contained in:
Gareth Jones 2018-11-14 11:22:32 +11:00 committed by GitHub
commit f7eee87955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,