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

htmls.py sets root logger loglevel #37

Closed
youngrok opened this issue Aug 18, 2013 · 3 comments
Closed

htmls.py sets root logger loglevel #37

youngrok opened this issue Aug 18, 2013 · 3 comments

Comments

@youngrok
Copy link

line 8: logging.getLogger().setLevel(logging.DEBUG)

This line should be removed. It overrides other root logger setting.

@Telofy
Copy link

Telofy commented Oct 8, 2013

Yeah, my logs were suddenly flooded with debug messages when I imported it. I managed to work around it by specifying logging.disable(logging.DEBUG) early in my code since resetting the root logger to warning level also hid the info-level messages of my own loggers. For some reason I now suddenly see info-level messages from other libraries though.

@buriy
Copy link
Owner

buriy commented Oct 9, 2013

Removed logging.getLogger().setLevel(logging.DEBUG) line.

@buriy buriy closed this as completed Oct 9, 2013
@Telofy
Copy link

Telofy commented Oct 10, 2013

Thank you! <3

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

3 participants