[Catalyst] How to show SQL in apache error_log?
Octavian Rasnita
orasnita at gmail.com
Mon Jun 11 07:41:04 GMT 2007
You can put
$ENV{DBIC_TRACE}++;
in MyApp.pm
Octavian
----- Original Message ----- =
From: Cookie =
To: catalyst at lists.rawmode.org =
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=3D1 and then we run the myapp_serv=
er.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 fi=
le like this:
setenv DBIC_TRACE 1
But it seems useless.How can solve this problem?
Thanks.
---------------------------------------------------------------------------=
---
_______________________________________________
List: Catalyst at lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.or=
g/
Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070611/c6a3f=
7e3/attachment.htm
More information about the Catalyst
mailing list