Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13742

Drive: ease logging of SQLAlchemy statements

    XMLWordPrintable

    Details

      Description

      We need to be able to configure the Python logging to log statements from sqlalchemy.engine and sqlalchemy.pool. This is actually what the echo=True and echo_pool='debug' options from sqlalchemy.create_engine() do, but logging to stdout.

      sqlalchemy.engine gives information about SQL queries and transactions (BEGIN, COMMIT, ROLLBACK)

      sqlalchemy.pool gives information about the connection pool (connection checked out, being returned to pool, ...)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h