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 mitar
Recipients mitar
Date 2017-07-23.01:29:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Currently, using non-legacy formatting in logging message is really cumbersome. I think a new style could be supported much easier using the following:

logger = logging.getLogger(style='{')
logger.misc('User {} logged in', username}

This is both backwards compatible, and does not interfere with 3rd party packages which might use a different logger with different style. You only have to make sure they do not use this logger without knowing about new format, which can be done in various ways (like prefixing the name of the logger, for example).

See for more information, where this has also been proposed but not really commented upon.
Date User Action Args
2017-07-23 01:29:55mitarsetrecipients: + mitar
2017-07-23 01:29:55mitarsetmessageid: <>
2017-07-23 01:29:55mitarlinkissue30995 messages
2017-07-23 01:29:54mitarcreate