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

Is it possible to configure what levels get logged? #29

Open
betweenbrain opened this issue Nov 2, 2017 · 1 comment
Open

Is it possible to configure what levels get logged? #29

betweenbrain opened this issue Nov 2, 2017 · 1 comment

Comments

@betweenbrain
Copy link

In looking at https://github.com/Wizcorp/node-graylog2/blob/master/graylog.js, I don't think this is implemented, but I wanted to confirm for sure that there isn't a built-in way to pass a configuration property to set the minimal level to log. The idea is that you can code all of the various logging events, and their respective levels, in your application, and then set what level(s) get sent off to Graylog in your configuration.

@ronkorving
Copy link
Collaborator

Such a feature has indeed not been implemented. I don't think it necessarily belongs in node-graylog2 though. It may be better off staying in user-land, so that if you switch logging services, you would retain that configurability. Thoughts?

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