You can put
$ENV{DBIC_TRACE}++;
in MyApp.pm
Octavian
----- Original Message -----
From: Cookie
To: [email protected]
Sent: Monday, June 11, 2007 7:01 AM
Subject: [Catalyst] How to show SQL in apache error_log?
As we know,if we use export DBIC_TRACE=1 and then we run the
myapp_server.pl,we can see the sql from the stander output.
I want to show the sql in the apache error_log.I modify the httpd.conf file
like this:
setenv DBIC_TRACE 1
But it seems useless.How can solve this problem?
Thanks.
------------------------------------------------------------------------------
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/