Search code examples
node.jswinstonlogentries

Logentries with Winston in not capturing ERROR, DEBUG


I am using Winston 3.1.0 in my NodeJS app, together with Logentries le_node 1.8.0.

Logentries is only capturing only INFO, DEBUG nor ERROR nor DEBUG.

I am using also Console & File transports, and those are logged correctly.

Any idea why LE is only capturing info, debug ?


Solution

  • Solved by defining levels in constructor: enter image description here