Django LogTailer
- Version:
2.0
- Source:
Allows the viewing of any log file entries in real time directly from the Django admin interface. It allows you to filter on logs with regex and offer also a log clipboard for save desired log lines to the django db.
Demos
Demo Video
Requirements
Django >= 6.1.1
Python >= 3.12
Sessions enabled
Installation
Install the package with pip install django-logtailer
Add it to the INSTALLED_APPS in your SETTINGS
Set LOGTAILER_ALLOWED_ROOTS in your SETTINGS (see Settings below)
add to urls.py: url(r’^logs/’, include(‘logtailer.urls’)),
Run manage.py migrate for create the required tables
Run manage.py collectstatic
Settings
LOGTAILER_ALLOWED_ROOTS (mandatory): list of directories log files are allowed to live in. Paths are fully resolved (symlinks and .. included) before checking, preventing path traversal (CWE-22). If the setting is missing or empty, access to every log file is denied:
LOGTAILER_ALLOWED_ROOTS = ['/var/log/myapp']
Filters
Filters (saved in the admin or typed in the custom filter field) are Python regular expressions evaluated server-side with re.search() against each raw log line. Only matching lines are returned to the browser.
Write plain patterns, not JavaScript literals: use networkmanager, not /networkmanager/.
Flags are inline groups: case-insensitive matching is (?i)networkmanager, not /networkmanager/i.
An invalid regex falls back to a literal substring match.
Running tests
From the repository root:
python runtests.py
The suite uses a minimal standalone settings module (tests/settings.py) with an in-memory SQLite database, so no extra setup is needed.
Metadata
Release files for django-logtailer 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_logtailer-2.0.0.tar.gz | 15.0 kB | With provenance | Details for django_logtailer-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_logtailer-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for django_logtailer-2.0.0-py3-none-any.whl |
Total release size: 35.5 kB
Release files / django_logtailer-2.0.0.tar.gz
| Download URL | django_logtailer-2.0.0.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ebd2e7ed1e3d04cf42394b2e07ba1998059e85b42ce0f4d31f0e47166e4c8e3
|
|
BLAKE2b-256 checksum How to use checksums |
7a3bfa479170c74fedf41212a5ddde03929a3444f780bbb475f87e8584a195c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / django_logtailer-2.0.0-py3-none-any.whl
| Download URL | django_logtailer-2.0.0-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf2c7e516c012a83dc79239a8d83574383c59a524646ccc0c4d049ee7f6bbc65
|
|
BLAKE2b-256 checksum How to use checksums |
20fb4aea184d4172f71db9102a3ca1dafdb4cac092d41e19a2e7325155419eb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logSecurity for django-logtailer 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for django_logtailer-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.