It seems useless.The apache error_log still don't output the sql. Thanks for your reponse.
Date: Mon, 11 Jun 2007 09:41:04 +0300 From: "Octavian Rasnita" <[EMAIL PROTECTED]> Subject: Re: [Catalyst] How to show SQL in apache error_log? To: "The elegant MVC web framework" <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" 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=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: [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/
