Opened 3 years ago
Closed 3 years ago
#32918 closed New feature (duplicate)
Increase logging of authentication flow
Reported by: | James Tocknell | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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)?
Change History (1)
comment:1 by , 3 years ago
Easy pickings: | unset |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Type: | Uncategorized → New feature |
Note:
See TracTickets
for help on using tickets.
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".