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 steveha, vinay.sajip
Date 2018-05-15.07:47:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526370449.85.0.682650639539.issue33510@psf.upfronthosting.co.za>
In-reply-to
Content
> The solution recommended in the logging cookbook does not do the same thing as I have proposed.

Perhaps not, but it appears to adequately address your first point:

> Many logging aggregation and indexing systems require that log data must be written in an easy-to-parse format such as JSON.


> The logging cookbook solution is that the user must explicitly write JSON data into the message line of each call to the logging code.

No, it just illustrates one simple way it could be done.

> P.S. Here is a blog posting on why it is useful to log in pure JSON

I'm already aware of situations where machine-parseable logs are valuable, thanks.

There's nothing stopping you from publishing any handlers/formatters you think are generally useful on PyPI, and publicising them so that people who want to use them can do so. There's no reason for them to be in the stdlib, as PyPI offers a better home for more specialised functionality than the stdlib.
History
Date User Action Args
2018-05-15 07:47:29vinay.sajipsetrecipients: + vinay.sajip, steveha
2018-05-15 07:47:29vinay.sajipsetmessageid: <1526370449.85.0.682650639539.issue33510@psf.upfronthosting.co.za>
2018-05-15 07:47:29vinay.sajiplinkissue33510 messages
2018-05-15 07:47:29vinay.sajipcreate