News

Get a better understanding of logging in Python with this primer by Senior Software Developer Mario Corchero. This article was originally published on Opensource.com under the CC BY-SA 4.0 license.
Python logging can help developers easily identify areas where their code needs to be improved or better optimised. This results in faster development cycles, fewer bugs and higher-quality code.
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.
Using a Config File To use the module with a config file using the fileConfig function, use the class pythonjsonlogger.jsonlogger.JsonFormatter. Here is a sample config file. [loggers]keys = ...
The new version of 'google-cloud-logging', v3.0 on GitHub, gives Python developers real-time insights into the performance of an application hosted on Google Cloud's compute infrastructure.