Catalog PyPI
PACKAGE EXPLORERView in registry

admin_logs

PyPI

Admin logs for django like in Google Application Engine

Versions collected1
Direct dependencies0From release 0.2.14
Last observed20 Oct, 19:41 UTC

README

Version 0.2.14 documentation
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

  from admin_logs.decorators import log

  # use full for celery tasks
  @log(name='test')
  def task_name():
    logging.warning('logging in task')

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.1417 May 20190

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
ferumflex/admin_logs

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:41 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f2015ff1e57c5f68a3d5782672af510920eb053b294cb5790196ce64e3e72133