Re: Getting a traceback out of connection.queries

2012-02-01 Thread Etienne Robillard
On 02/01/2012 10:30 AM, Daniel Moisset wrote: On Tue, Jan 31, 2012 at 8:34 PM, josharian wrote: Hi all, We're using connection.queries to log all sql executed during development. I find myself wishing that in addition to 'sql' and 'time', there was a 'traceback' entry, so that troublesome/myst

Re: Getting a traceback out of connection.queries

2012-02-01 Thread Daniel Moisset
On Tue, Jan 31, 2012 at 8:34 PM, josharian wrote: > Hi all, > > We're using connection.queries to log all sql executed during > development. I find myself wishing that in addition to 'sql' and > 'time', there was a 'traceback' entry, so that troublesome/mysterious > queries could quickly be tracke

Getting a traceback out of connection.queries

2012-01-31 Thread josharian
Hi all, We're using connection.queries to log all sql executed during development. I find myself wishing that in addition to 'sql' and 'time', there was a 'traceback' entry, so that troublesome/mysterious queries could quickly be tracked back to their origins. Adding it is a pretty small patch --