nightlife-rabbit icon indicating copy to clipboard operation
nightlife-rabbit copied to clipboard

Unused logger option

Open kachanss opened this issue 8 years ago • 1 comments

I wnat to change logger level. I try set logger: new CLogger({name: "custom-logger", visible: ['info']}). There was no reaction. Log level remains.

In router.js script use utils.logger() so I can't redefine it.

I'm new in node, so is there a way to set my own logger?

kachanss avatar Sep 03 '15 11:09 kachanss

Have the same issue. It's possible to do something like

VISIBLE=info,warn,error node your-server.js

Found in the source of node-clogger, but yeah, doesn't look like the logger itself is overridable at the moment.

kribblo avatar Nov 17 '15 13:11 kribblo