On 9/14/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > > From: "Paul Rudolf Seebacher" <[EMAIL PROTECTED]> > > > > Octavian Rasnita wrote: > >> Hi, > >> > >> Is it possible to log a certain SQL which is generated in a Catalyst > >> application by a controller that uses a DBIx::Class model? > >> > >> Thank you. > >> > >> Octavian > >> > >> > >> _______________________________________________ > >> List: Catalyst@lists.rawmode.org > >> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > >> Searchable archive: > >> http://www.mail-archive.com/catalyst@lists.rawmode.org/ > >> Dev site: http://dev.catalyst.perl.org/ > >> > > This will print out geneerated SQL on debug screen: > > $ export DBIC_TRACE=1 > > > > And where should I enter this command line?
Do it in the same shell that you start your catalyst server
_______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/