From 149c102fdab87f1b7e293264ef1afac4a9db5bd4 Mon Sep 17 00:00:00 2001 From: jiro4989 Date: Wed, 14 Nov 2018 07:41:23 +0900 Subject: [PATCH] [fix]change wrong property name, from 'numBackups' to 'backups' --- examples/log-to-files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/log-to-files.js b/examples/log-to-files.js index c30ccc5..15d66cb 100644 --- a/examples/log-to-files.js +++ b/examples/log-to-files.js @@ -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,