https://github.com/null-none/django-logging
Elegant setup of Python logging in Django
https://github.com/null-none/django-logging
django logger logging python
Last synced: 3 months ago
JSON representation
Elegant setup of Python logging in Django
- Host: GitHub
- URL: https://github.com/null-none/django-logging
- Owner: null-none
- License: mit
- Created: 2017-08-15T01:05:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T20:15:54.000Z (about 6 years ago)
- Last Synced: 2025-07-01T22:03:43.336Z (12 months ago)
- Topics: django, logger, logging, python
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=======
Install
=======
.. code-block:: bash
pip install django-logging
=======
Quick start
=======
1. Add "django_logging" to your INSTALLED_APPS settings like this:
.. code-block:: bash
INSTALLED_APPS = (
...
'django_logging',
)
2. Include the 'django_logging.middleware' middleware in your MIDDLEWARE_CLASSES like this:
.. code-block:: bash
MIDDLEWARE_CLASSES = [
'django_logging.middleware',
...
]
=======
.. image:: https://img.shields.io/badge/Donate-PayPal-green.svg
:target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YYZQ6ZRZ3EW5C