Skip to main content

Admin logs for django like in Google Application Engine

Project description


This small module for django allows you to store requests in your database(now supports only database) and then look at them in django admin. This module was inspired by logs in Google Application Engine


Include this lines to your

INSTALLED_APPS += ('admin_logs', )
MIDDLEWARE_CLASSES = ('admin_logs.middleware.LogRequestMiddleware', ) + MIDDLEWARE_CLASSES  # place middleware as early as possible

ADMIN_LOGS_BACKEND = 'admin_logs.backends.database.DatabaseBackend'  # now supports only database

from admin_logs import setup_level
setup_level('INFO')  # set minumum log level that will be written to logs


Anywhere in the code you can run:

import logging

And this warning will be written to logs and you can check it later.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for admin_logs, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size admin_logs-0.1.4-py2-none-any.whl (12.4 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size admin_logs-0.1.4.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page