From: Lutz S. <l.s...@4c...> - 2009-10-13 08:11:29
|
On Tue, 13 Oct 2009 11:45:36 +0400 Oleg Broytman <ph...@ph...> wrote: > On Tue, Oct 13, 2009 at 08:52:48AM +0200, Lutz Steinborn wrote: > > is there a way to log the query that SQLObject generates ? > > Sure. You can turn on debug flag in DB URI or connection: But this gives me all queries. What I wan't is a possibility to log only on query. We have a lot of queries so its hard to find the right query in the logfiles. Some times you will see only a query with special parameters. Its not only interesting for logging its nice to have this for evidence. Is where a way to do this ? Regards Lutz |