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

Logger inherits wrong level #217

Open
Pastinakel opened this issue Jul 16, 2021 · 0 comments
Open

Logger inherits wrong level #217

Pastinakel opened this issue Jul 16, 2021 · 0 comments

Comments

@Pastinakel
Copy link

Pastinakel commented Jul 16, 2021

import logging
logging.getLogger('socketIO-client').setLevel(logging.INFO)
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s.%(msecs)03d %(levelname)s %(name)s:\t%(message)s', datefmt='%H:%M:%S')
logger = logging.getLogger()

I want my script code DEBUG but the socketIO INFO but those long debug lines from socketIO keep coming. What am I doing wrong?

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