[issue5192] Update log message formatting.

Vinay Sajip report at bugs.python.org
Tue Feb 17 20:29:58 CET 2009


Vinay Sajip <vinay_sajip at yahoo.co.uk> 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 <report at bugs.python.org>
<http://bugs.python.org/issue5192>
_______________________________________


More information about the Python-bugs-list mailing list