koa-log4js
koa-log4js copied to clipboard
must have a property "appenders" of type object.
when i start my project.it throw new Error :must have a property "appenders" of type object. do you know how can i slove the problem? thank you very much.
Error: Problem with log4js configuration: ({ appenders: [ { type: 'console', category: 'http' }, { type: 'console', category: 'kafka' }, { type: 'console', category: 'mysql' }, { type: 'console', category: 'redis' }, { type: 'console', category: 'info' } ] }) - must have a property "appenders" of type object. at tests.forEach (/media/yanqi/娱乐/work_space/comments-writer-server/node_modules/[email protected]@log4js/lib/configuration.js:43:15)