[Django] #32918: Increase logging of authentication flow

4 views
Skip to first unread message

Django

unread,
Jul 12, 2021, 4:47:34 AM7/12/21
to django-...@googlegroups.com
#32918: Increase logging of authentication flow
------------------------------------------+------------------------
Reporter: James Tocknell | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.auth | Version:
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------+------------------------
Currently there's very little logging within the authentication subsystem,
which makes it much harder to trace why a particular path is happening (in
my case why TestClient.force_login wasn't working, so I ended up
scattering the django codebase with print functions). Would the developers
be open to a patch to increase the amount of logging (which would be at
the debug level)?

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

Django

unread,
Jul 12, 2021, 5:11:31 AM7/12/21
to django-...@googlegroups.com
#32918: Increase logging of authentication flow
--------------------------------+--------------------------------------

Reporter: James Tocknell | Owner: nobody
Type: New feature | Status: closed
Component: contrib.auth | Version:
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* type: Uncategorized => New feature
* resolution: => duplicate
* easy: 1 => 0


Comment:

Thanks for this ticket, as far as I'm aware this is a duplicate of #20495
(which is generally about increasing logging in the authentication but
with concrete examples like failed login attempts). Please check this
discussion.

For the future, you'll reach a wider audience if you write to the
DevelopersMailingList about your ideas. A trac ticket should contain a
description of what do you want to log not only an idea ''"...increase the
amount of logging"''.

--
Ticket URL: <https://code.djangoproject.com/ticket/32918#comment:1>

Reply all
Reply to author
Forward
0 new messages