A quick guide to logging for Django developers
- 30 minutes
logging module is a really powerful tool for troubleshooting with a lot of potential to save us hours of debugging.
The aim for the talk is to provide an overview how the logging module in python works, how Django uses it and how to improve our logging to make it better for our web project.
As Django developers, we implictly use the python
logging module daily in our work - for HTTP requests, for SQL queries, for custom logs, etc.
The aim of this talk is to provide useful information for Django developers on:
- How does logging in python works?
- How to setup a logging configuration based on our needs?
- How to configure logging in our Django app?
- Tips and tricks for custom logging in Django app