the easiest trick i came up with for this, was to create a "logging" table in sqlalchemy/postgres and directly log the query into it.
my table looks roughly like this: > id , timestamp, request_id ( if under pyramid ), query_id (if available, guid assigned to different queries ), query, vars, execution_time (if available) this lets me pull the relevant queries really fast, and not worry about how the python logger formats lines. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.