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

Unexpected log_level behaviour #1

Open
pataquets opened this issue Jul 28, 2017 · 1 comment
Open

Unexpected log_level behaviour #1

pataquets opened this issue Jul 28, 2017 · 1 comment

Comments

@pataquets
Copy link

As I'm trying mongodb-proxy, I've found that using different --log_level command line values, exclude other log level messages.
For example, running the proxy with --log_level info and connecting prints INFO messages as expected. However, if I do the same with --log_level debug, DEBUG level messages print, but not the INFO level ones, as I expect. I expect DEBUG level to also include lower log levels, as most softwares do.
I'm logging to stdio.

Other things I tried:

  • Passing two --log_level command switches, one for each value.
  • Passing the value info,debug to the --log_level command switch.

Is this the intended behaviour? Am I doing it wrong?
Most of time, ERROR or INFO levels are OK, but raising to DEBUG when troubleshooting should not prevent other messages to print.
TIA.

@pataquets
Copy link
Author

@christkv : ping?

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

1 participant