Today, I’m excited to share a new Django package I’ve been working on called dj-logging! dj-logging is a logging solution tailored specifically for Django projects.
It’s designed to be easy to set up while offering powerful features to help you keep track of what’s happening in your application.
Let me walk you through some of its key features: Effortless Setup: You can get started with logging in just a few steps, with sensible defaults right out of the box.
Level-Based Logging: Automatically logs each level (INFO, WARNING, ERROR, etc.) into its own file, making it easy to track down specific types of messages.
Colorized Console Output: Logs are color-coded in the console, so you can quickly spot different log levels at a glance.
Email Notifications: Critical errors or issues? No worries—dj-logging can send email notifications for ERROR and CRITICAL logs, keeping you informed in real-time.
Request Middleware: The package includes a middleware that logs essential request details like the request path, user info, IP address, and browser type—perfect for debugging and monitoring.
Highly Customizable: You can easily tweak log formats and handlers to suit your project’s needs.
Whether you’re looking to improve your logging setup or just want to try something new, I’d love for you to check it out.
You can find it on PyPI here: dj-logging · PyPI
I’m really looking forward to your feedback and any suggestions you might have. Thanks for listening, and I hope you find dj-logging as useful as I do!