Message 320869 - Python tracker

Message320869

Author vinay.sajip
Recipients Leon H., eric.smith, vinay.sajip
Date 2018-07-02.10:55:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530528947.81.0.56676864532.issue34020@psf.upfronthosting.co.za>
In-reply-to
Content
> The first thing people do is set the format to '%(asctime)s:%(levelname)s:%(name)s:%(message)s' or like after importing logging module.

"People" - you don't claim to speak for *everyone*, right?

basicConfig() takes a format= keyword argument that you can use to specify your required format string. Since you have to call basicConfig() anyway, it seems little hardship to specify the format you want in your call.

Closing as "not a bug", which here is to be interpreted as "not an enhancement that's needed".
History
Date User Action Args
2018-07-02 10:55:47vinay.sajipsetrecipients: + vinay.sajip, eric.smith, Leon H.
2018-07-02 10:55:47vinay.sajipsetmessageid: <1530528947.81.0.56676864532.issue34020@psf.upfronthosting.co.za>
2018-07-02 10:55:47vinay.sajiplinkissue34020 messages
2018-07-02 10:55:47vinay.sajipcreate