The Django 4.2 introduced support for logging transaction management queries (BEGIN, COMMIT, and ROLLBACK). This made the assertNumQueries
tests in TransactionTestCase to become inconsistent.
On Django <4.2, “COMMIT” SQL statements are not logged and hence the assertNumQueries
expects a lower value.
Is there a way to disable logging of management queries?