#20495: add login failure events to django.security logger
--------------------------------------+------------------------------------
     Reporter:  ptone                 |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  contrib.auth          |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  1
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by charettes):

 Concerning the logger, you should use a ''sublogger'' of
 `'django.security'` such as `'django.security.FailedLogingAttempt'`. Plus
 you should pass the message format and arguments to the logging method
 instead of the interpolated message.

 I'm not convinced we should deprecate the signal since it was added to
 allow implementation of security features such as throttling in the first
 place.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20495#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.c084468b00b678efd093bfa52cd4eb76%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to