0

I keep getting this error every time I try running node site.js

Error: Problem with log4js configuration: ({ appenders:

Anyone have any ideas or know the fix, I am trying to run site.js to start up my site.

Daniel Alder
  • 5,031
  • 2
  • 45
  • 55
Iconic
  • 1
  • 1

1 Answers1

0

make sure you're fitted to that syntax in the configure params :

log4js.configure({
  appenders: { gouda: { type: 'cheese/appender', flavour: 'tasty' } },
  categories: { default: { appenders: ['gouda'], level: 'debug' }}
});

I've already seen this error. I'was wrong in my code.

CyrilHskt
  • 141
  • 1
  • 1
  • 8