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

Re-evaluate logging configuration #52

Open
piehld opened this issue Mar 12, 2025 · 0 comments
Open

Re-evaluate logging configuration #52

piehld opened this issue Mar 12, 2025 · 0 comments

Comments

@piehld
Copy link
Collaborator

piehld commented Mar 12, 2025

Currently, we turn on logging and set the default configuration to WARNING level. However, by doing this, there is a chance that this will incidentally take precedence and prevent users from re-configuring their logger in another application. So, we should re-evaluate whether we should be configuring it here, or switch certain logging messages to print statements instead.

import logging
logging.basicConfig(level=logging.WARNING, format="%(asctime)s [%(levelname)s]-%(module)s.%(funcName)s: %(message)s")
logger = logging.getLogger()

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