1π
β
I think youβve miss understand the use of django.request
. Based on the doc
Log messages related to the handling of requests. 5XX responses are raised as ERROR messages; 4XX responses are raised as WARNING messages.
I think the django.request
only log info when 5XX or 4XX happened.
You can try http://127.0.0.1:8000/no/where/
to see if the logger worked.
π€shellbye
0π
Check your DEBUG=True
in settings.py
require_debug_true
filter will only pass on records when settings.DEBUG is True.
See Django Logging
π€Corikachu
- Move customized django-allauth templates to directory other than 'account'
- REST Framework: how to serialize objects?
- Django query difference in group
- Django Model ValueError: too many values to unpack
- How to use images loaded with webpack in django templates?
Source:stackexchange.com