This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients LambertDW, vinay.sajip
Date 2009-02-17.19:29:55
SpamBayes Score 0.030999789
Marked as misclassified No
Message-id <1234898998.09.0.979280104421.issue5192@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-02-17 19:29:58vinay.sajipsetrecipients: + vinay.sajip, LambertDW
2009-02-17 19:29:58vinay.sajipsetmessageid: <1234898998.09.0.979280104421.issue5192@psf.upfronthosting.co.za>
2009-02-17 19:29:56vinay.sajiplinkissue5192 messages
2009-02-17 19:29:55vinay.sajipcreate