Logging in Django and Python Applications - Handlers / Formatters / Better Stack aggregation

Описание к видео Logging in Django and Python Applications - Handlers / Formatters / Better Stack aggregation

In this video, you'll learn how to configure logging in a Django web application, and will learn about the built-in utilities provided by Python's logging package - Loggers, Handlers and Formatters.

You will learn how to ship logs to different locations using handlers - for example, sending logs to files, and shipping to Better Stack for centralized storage, aggregation and analysis.

► RELATED GUIDES
How to Get Started with Logging in Django: https://betterstack.com/community/gui...

10 Best Practices for Logging in Python:
https://betterstack.com/community/gui...

Logging in Python: A Comparison of the Top 6 Libraries:
https://betterstack.com/community/gui...

► READ MORE
More about Better Stack: https://betterstack.com/
Community pages: https://betterstack.com/community/

► STAY TUNED
GitHub: https://github.com/BetterStackHQ
Twitter:   / betterstackhq  
LinkedIn:   / betterstack  
Instagram:   / betterstackhq  
TikTok:   / betterstack  

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
01:02 Python logging module
08:33 Logging in Django applications
17:25 Adding a Formatter for Django logs
22:42 Configuring logging settings with environment variables and Django-environ
27:01 Logger Namespacing & Hierarchies
32:09 BetterStack log aggregation integration

#django #logging #python #pythonprogramming

Комментарии

Информация по комментариям в разработке