Subject: | Please either set $querylog->passthrough to 1 or allow it to be set |
Date: | Wed, 13 Jan 2010 12:29:11 +1300 |
To: | bug-Catalyst-TraitFor-Model-DBIC-Schema-QueryLog [...] rt.cpan.org |
From: | Nigel McNie <nigel [...] mcnie.name> |
I am using Catalyst::TraitFor::Model::DBIC::Schema::QueryLog version
0.0.2 from CPAN (and later debianised).
When you enable the use of this module, it surpresses the lines
normally emitted by setting DBIC_TRACE=1. This can be fixed by adding
$querylog->passthrough(1); to build_per_context_instance just after
$querylog is made. Would it be possible for this to be done, or for an
option to be provided so people can choose whether passthrough is
enabled?
--
Regards,
Nigel McNie