Skip to main content

django-real-time logging

Useful and simple real-time logging middleware for django projects.

https://github.com/Speccy-Rom/django-real-time-logging

How to use it

To install run:

pip install django-rt-logging

Add the following lines at the end of settings.py file:

INSTALLED_APPS = INSTALLED_APPS + ('django-rt-logging',)
MIDDLEWARE = ( MIDDLEWARE + ('django_watch.middleware.LoggingMiddleware',) )  

Open your development console and see the result:

""" START /my_project/posts/views.py => news_list: Line number 15 """
kwargs: {'posts_id': '3'}
request.GET: <QueryDict: {'published_at': ['today']}>

""" END /my_project/posts/views.py => news_list: Line number 15 """
sql queries time: 0.13
total time: 4.23

Download files

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

Source Distribution

django-rt-logging-0.22.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file django-rt-logging-0.22.tar.gz.

File metadata

  • Download URL: django-rt-logging-0.22.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for django-rt-logging-0.22.tar.gz
Algorithm Hash digest
SHA256 dd6c27b8860f9c7c67aedcbcc764531244581ff02b478659deeb58334bbd1b33
MD5 4d820395e9e8dd72bf3561134d9fe59b
BLAKE2b-256 47d7fe7b063eb34f3441604b321e182137ed7cb7eb4f358a0daa6564d31c7d1e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.22 This release

1 file

0.21

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page