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

stdout logging ignores log level #639

Open
ajprax opened this issue Dec 20, 2017 · 1 comment
Open

stdout logging ignores log level #639

ajprax opened this issue Dec 20, 2017 · 1 comment
Labels
bug A bug within statsd or it's bundled proxies

Comments

@ajprax
Copy link

ajprax commented Dec 20, 2017

With log: {backend: "stdout", level: "..."} in config.js the daemon ignores the log level and still prints everything to stdout. This seems to be the result of lib/logger.js using util.log (deprecated since 6.0.0 20 months ago) which does not support log levels.

If the stdout logger cannot be easily made to respect the log level, it would be helpful if the config documentation in exampleConfig.js noted that using stdout prevents the level option from functioning.

@BlueHatbRit BlueHatbRit added the bug A bug within statsd or it's bundled proxies label Jul 11, 2019
@BlueHatbRit
Copy link
Member

Thanks for the report, so sorry it's taken years for this to get looked into. With the project recently revived, I've marked this as a bug and hopefully we can get it fixed 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug within statsd or it's bundled proxies
Projects
None yet
Development

No branches or pull requests

2 participants