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 of decorator log_duration is always logging with level logging.DEBUG #575

Closed
schroedk opened this issue May 6, 2024 · 0 comments · Fixed by #567
Closed

Logger of decorator log_duration is always logging with level logging.DEBUG #575

schroedk opened this issue May 6, 2024 · 0 comments · Fixed by #567
Assignees
Labels
bug Something isn't working
Milestone

Comments

@schroedk
Copy link
Collaborator

schroedk commented May 6, 2024

When using the decorator log_duration, a new logger is instantiated, which always logs no matter of the logging.BasicConfig
log level.

Expected:
Logging only at the level the decorator was called with.

@schroedk schroedk added the bug Something isn't working label May 6, 2024
@schroedk schroedk self-assigned this May 6, 2024
@schroedk schroedk added this to the v0.9.2 milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant