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

logging_compat should not interpolate if no args present #14

Open
wearpants opened this issue Apr 2, 2013 · 0 comments
Open

logging_compat should not interpolate if no args present #14

wearpants opened this issue Apr 2, 2013 · 0 comments

Comments

@wearpants
Copy link
Owner

wearpants commented Apr 2, 2013

Stdlib logging will never try to interpolate a format_spec if args are empty:

>>> import logging
>>> logging.basicConfig(level='DEBUG')
>>> logging.warn("Wtf %s")
WARNING:root:Wtf %s

logging_compat should mimic this behavior (even though it is dumb).

Imported from Bitbucket.

@wearpants wearpants modified the milestones: 0.5, 0.5 reboot Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant