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.

作者 vinay.sajip
收信人 LambertDW, vinay.sajip
日期 2009-02-17.19:29:55
SpamBayes Score 0.030999789
Marked as misclassified
Message-id <1234898998.09.0.979280104421.issue5192@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2009-02-17 19:29:58vinay.sajip修改recipients: + vinay.sajip, LambertDW
2009-02-17 19:29:58vinay.sajip修改messageid: <1234898998.09.0.979280104421.issue5192@psf.upfronthosting.co.za>
2009-02-17 19:29:56vinay.sajip链接issue5192 messages
2009-02-17 19:29:55vinay.sajip创建