Practical Python:
Logging
How to build a monitoring system for your Python project
What is this course about?
This course is about Python Logging module, one of the most misunderstood and unclear module in Python, and about its usage in your Python projects.
Without the Logging module it's barely possible to get even a bit of information what's happened with your Python project deployed on a server .
When your user pointing you out about some bugs with your project it will be almost impossible to fix it, because you don't know what the User did, what data was passed in to your project, and what's happened.
You have no access to Python traceback, no prints, and no data.
But! You need to collect the debuging information.
How can you get it?
Fortunately the Logging module allows us to build a monitoring system, that will collect debuging data, message you about errors by email, SMS, Telegram Bot and so on.
1.5
hours
6
videos
Index of Course
Covered topics
- Design of the Logging module, and logger
- How logging messages are processed
- Loggers hierarchy
- How to configure loggers via configuration files. In this course I used a dictionary as config.
- Why and how to use logging filters.
- How to use custom logging Handlers.
- Creating a Telegram Bot, that will accept messages from your loggers.
For whom
The Course fits for Python developers with some experience.
Prerequisites
- Basics of Python
- Understanding of Python classes, inheritance, methods overriding
- Linux or Mac are preferable