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 in tune threshold does not inherit from root #156

Open
nsorros opened this issue Nov 17, 2021 · 0 comments
Open

Logger in tune threshold does not inherit from root #156

nsorros opened this issue Nov 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@nsorros
Copy link
Collaborator

nsorros commented Nov 17, 2021

In grants_tagger/tune_threshold.py we initialize the logger with logger = logging.getLogger(__name__) and at the same time we have a root logger in grants_tagger/__init__.py that sets the level according to the the environment variable LOGGING_LEVEL. This level is not being picked up as expected so we end up setting it again.

@nsorros nsorros added the enhancement New feature or request label Dec 6, 2021
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