When using the sample configuration file config/log4js.json log4js is unable to load this configuration:
"appenderList.forEach is not a function" (TypeError: appenderList.forEach is not a function
at configureAppenders (node_modules\log4js\lib\log4js.js:248:18)
at configureOnceOff (node_modules\log4js\lib\log4js.js:308:7)
at Object.configure (node_modules\log4js\lib\log4js.js:371:3)
When using the sample configuration file
config/log4js.json
log4js is unable to load this configuration:A valid configuration file looks more like this: