← Back to team overview

launchpad-dev team mailing list archive

Get the query generated by Storm

 

Robert or someone: hi.  Could you provide some hints or answers to the following?

1) Let's say you want to see what SQL is being generated by Storm in a test.  Is there a better way to do it other than debugger breaks into Storm guts?

2) Let's sat you want to see what SQL is being generated by Storm in a POST on launchpad.dev.  ++oops++ only seemed to record my GETs for some reason (I'm looking in /var/tmp/lperr/).  ++profile++show didn't help because I was redirected immediately after the POST, as we often do.  Is there a better way to do it other than debugger breaks into Storm guts or other similar hacks?

Thank you!  I'll even add your answers to https://dev.launchpad.net/Database/Performance if you don't. :-)

Gary


Follow ups