Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Admin logs for django like in Google Application Engine

Project Description

About

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

Configure

Include this lines to your settings.py:

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

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

Release History

Release History

This version
History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
admin_logs-0.1.7-py2.py3-none-any.whl (13.8 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Jun 20, 2017
admin_logs-0.1.7.tar.gz (7.8 kB) Copy SHA256 Checksum SHA256 Source Jun 20, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting