-
-
Notifications
You must be signed in to change notification settings - Fork 777
Fixes Python Logging API Change #4923
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
Conversation
The logging module added a stacklevel=1 kwarg in python3.8 We need to do the same since we override that method.
|
This fixes this issue: #4922 |
blag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the stacklevel parameter isn't actually used anywhere, it would probably be better to use **kwargs to capture it.
|
Updated, but I had to use |
nmaludy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a CHANGELOG entry for this?
Co-authored-by: Eugen C. <[email protected]>
Requested changes were addressed by the PR author
The logging module added a stacklevel=1 kwarg in python3.8 to the findCaller() function
We need to do the same since we override that method.
Closes #4922