Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Django Live Logging

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 https://github.com/joeribekker/django-logdb application from which the database logging part of this package was taken.

Quick Installation

pip install django-live-logging

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

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    ...
    'live_logging',
)

Configure Database logging

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

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

Release history Release notifications | RSS feed

This release

0.1.dev20140913161855 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page