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
LogRecord attributes are not tuple, when logging only dict #69694
Comments
Hi, in doc https://docs.python.org/3.4/library/logging.html#logrecord-attributes there is But when I log message with 1 arg - a dict - in record.args will be this dict
output:
|
I believe this is due to the way % formatting works, and so is a doc bug. Vinay will know for sure, of course :) |
New changeset a365fb0dd5e1 by Vinay Sajip in branch '2.7': New changeset 01998efb605a by Vinay Sajip in branch '3.4': New changeset ca512b568368 by Vinay Sajip in branch '3.5': New changeset 1da622f4630b by Vinay Sajip in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: