Skip to main content

Live django logging configuration, monitoring and displaying

Project description

Allow live editing of logging configuration in django projects and/or log to internal database table.

This project does not pretend to be ‘state of the art’, was written in few hours to help to troubleshoot applications where is not possible to access to log file easily. It allow you to temporarly enable database logging and change/add logging level and loggers using django admin interface.

Thanks to Joeri Bekker for the application from which the database logging part of this package was taken.

Quick Installation

pip install django-live-logging

Once installed, update your Django and add live_logging to your INSTALLED_APPS:


Configure Database logging

Create an handler in your logging configuration to store into database.

     'handlers': {
        'db': {
            'level': 'DEBUG',
            'class': 'live_logging.handlers.DjangoDatabaseHandler',

Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page