Python JSON Logger enables you produce JSON logs when using Python's logging package. JSON logs are machine readable allowing for much easier parsing and ingestion into log aggregation tools.
This library is only for Python 2.x. You can not use it with Python 3.x. But I am learning Python 3.x now. Maybe it could be for Python 3.x in the future.