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

[FEATURE]: Fix Logging Imports #195

Open
trevorb1 opened this issue Sep 10, 2024 · 0 comments
Open

[FEATURE]: Fix Logging Imports #195

trevorb1 opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@trevorb1
Copy link
Member

Idea

Right now, logging has configuration settings set at the top of every module, such as:

import logging
logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.INFO)

I dont think we should be setting the logging level in each module, but this should be a global option when running.

Is your feature related to a bug?

No response

Suggested Soltuion

I believe the imports should look something more like this.

import logging 
logger = logging.getLogger(__name__)

Additional Info

No response

@trevorb1 trevorb1 added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant