Skip to main content

Allows the viewing and download of specific log files in real time directly from the Django admin interface.

Project description

Django LogViewer

Allows the viewing and download of specific log files in real time directly from the Django admin interface.

Inspired by Django LogTailer

Quick start

  1. Install Django LogViewer:
pip install django-admin-logviewer
  1. Add it to your INSTALLED_APPS:
    INSTALLED_APPS = (
        ...
        'logviewer',
        ...
    )
  1. Add Django LogViewer's URL patterns:
    urlpatterns = [
        ...
        path('logviewer/', include('logviewer.urls', namespace='logviewer')),
        ...
    ]

Then visit:

http://127.0.0.1:8000/logviewer/logs

Settings

Setting Purpose
LOGVIEWER_LOGS list of log files' paths
LOGVIEWER_REFRESH_INTERVAL in [ms]

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_admin_logviewer-0.1.0-py2.py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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