Thanks for your response. We do use logging but missed the part of 
django.request. Thanks for pointing it. 

On Wednesday, March 8, 2017 at 9:31:21 PM UTC+5:30, Melvyn Sopacua wrote:
>
> On Wednesday 08 March 2017 06:15:42 Web Architect wrote:
>
>  
>
> > Is there a way to log CSRF errors? Like whenever an user visits my
>
> > site and faces a CSRF error, I would like Django to log it in a file.
>
>  
>
> Did you read the logging documentation 
> <https://docs.djangoproject.com/en/1.10/topics/logging/>?
>
>  
>
> -- 
>
> Melvyn Sopacua
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/da591e49-3bbb-4825-8edf-4836505e8885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to