You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
If a user receives a 401 error, it is hard to track why and also only available in the web server logs.
Suggested solution
Create a native audit log feature that tracks permission errors and login / signup / mfa actions into a table for later audit or forwarding to other systems (e.g. a SIEM).
Describe alternatives you've considered
Web server parsing; there is not all information available in there though
Have you considered django-auditlog for this purpose? I'm not sure that it will cover all your bases, but I've used it in other projects where I cared about the history of a thing.
I'm not sure how well it fits with your vision of generalizing stock tracking as mentioned in #7023 (comment) , but it may be worth a look
Activity
github-actions commentedon Sep 8, 2025
This issue seems stale. Please react to show this is still important.
matmair commentedon Sep 8, 2025
Still active but rather low prio
jacobfelknor commentedon Jan 19, 2026
Have you considered django-auditlog for this purpose? I'm not sure that it will cover all your bases, but I've used it in other projects where I cared about the history of a thing.
I'm not sure how well it fits with your vision of generalizing stock tracking as mentioned in #7023 (comment) , but it may be worth a look
matmair commentedon Jan 20, 2026
I am aware of it but some things that I deem important for a audit log (tamper-proofness being the most important) are missing.
feat(backend): add request id
feat(backend): add request id (#11666)
feat(backend): add request id (inventree#11666)