Vinay Sajip <[email protected]> added the comment:

Isn't there a backward compatibility problem? If a message format string
contains both "%s" and "{0}", how is logging supposed to know what to
use - a % b or a.format(b)?

The way to do it is a custom Formatter, as you've indicated.

----------
nosy: +vsajip
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5192>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to