Skip to main content

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.

Project details


Download files

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

Source Distribution

admin_logs-0.2.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

admin_logs-0.2.0-py2.py3-none-any.whl (15.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file admin_logs-0.2.0.tar.gz.

File metadata

  • Download URL: admin_logs-0.2.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for admin_logs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 26c71652e8d258c86380568e75798d85ce2a9ed74d7c971722314560a288f34f
MD5 fe50244e8797709385d5368c65ee1538
BLAKE2b-256 231d205c9beb203cb38755c38c798227b33b4b5498dea7c2bbcd00d073587a92

See more details on using hashes here.

File details

Details for the file admin_logs-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for admin_logs-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cbed436f46c9d7aeef29bf910eb352c606dd2fca497392504ab071d116e1cc0c
MD5 02e13a71fbde8f6023e0aee4928d28aa
BLAKE2b-256 0a621e83ec9f0b1d4dc319b54c14afc5c498e045e23ff033c31ab6d4a15c4a0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page