Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Enable logging of SQL statements #48

Closed
djmitche opened this issue May 1, 2014 · 2 comments
Closed

Enable logging of SQL statements #48

djmitche opened this issue May 1, 2014 · 2 comments
Labels

Comments

@djmitche
Copy link
Contributor

djmitche commented May 1, 2014

It's sometimes useful to see all of the SQL queries that things issue in the logs.

SQLAlchemy supports this with an echo=True argument to engine construction. We don't want to turn this on all the time, though!

@djmitche djmitche added the sprint label Sep 5, 2014
@djmitche
Copy link
Contributor Author

djmitche commented Sep 5, 2014

Perhaps that can be a RelengAPI config option, and also enabled by default for tests?

@djmitche djmitche changed the title Enable SQL debugging as a config option Enable logging of SQL statements Sep 5, 2014
@djmitche djmitche modified the milestone: non-critical Jan 26, 2015
@djmitche
Copy link
Contributor Author

@rahulrrixe is working on this in #173.

@djmitche djmitche modified the milestones: v2.1.0, non-critical Apr 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant