Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused logger option #6

Open
kachanss opened this issue Sep 3, 2015 · 1 comment
Open

Unused logger option #6

kachanss opened this issue Sep 3, 2015 · 1 comment

Comments

@kachanss
Copy link

kachanss commented Sep 3, 2015

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?

@kribblo
Copy link

kribblo commented Nov 17, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants