Log when DB transactions are commited and rollbacked.
Background: I was debugging database calls today with the django.db.backends
log.
Problem: The BEGIN
SQL calls show up in the logs, but there is no way to see when the transaction is commited or if it is rolled back.
As easy solution would be to log commits and rollbacks as well.
Change History
(14)
Needs tests: |
set
|
Owner: |
changed from nobody to Petter Strandmark
|
Patch needs improvement: |
set
|
Status: |
new → assigned
|
Summary: |
Log when DB transactions are commited and rolled back → Log when DB transactions are commited and rollbacked.
|
Triage Stage: |
Unreviewed → Accepted
|
Needs tests: |
unset
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Owner: |
Petter Strandmark removed
|
Status: |
assigned → new
|
Owner: |
set to Ilya Bass
|
Status: |
new → assigned
|
Patch needs improvement: |
unset
|
Needs documentation: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Patch: https://github.com/django/django/pull/12219