List Info

Thread: Re: C::M::DBIC::Schema::QyeryLog: can't collect any stats...




Re: C::M::DBIC::Schema::QyeryLog: can't collect any stats...
country flaguser name
Italy
2007-09-19 10:44:18
Cory Watson ha scritto:
> On 9/19/07, Marcello Romani <mromaniottotecnica.com> wrote:
>> Do you use it in cat apps on in plain dbic ?
>>
>> Could you provide an example of usage ?
> 
> http://www.onemogin.com/bl
og/554-profile-your-catalystdbixclass-app-with-querylog.html

> 
> The syntax has changed a bit due to the Analyzer, but
you should be
> able to make the leap.
> 

I think I said something stupid about querylog object's
address in my 
previous post, so I put a warn() statement just after the
call to 
DBIx::Class::QyeryLog->new(); in my code. I could verify
that only one 
call to that method is ever made (until I restart the app,
obviously).
So my guess is that instance should collect the stats...

-- 
Marcello Romani
Responsabile IT
Ottotecnica s.r.l.
http://www.ottotecnica.com


_______________________________________________
List: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )