Another thought (which I could probably have collected to include in the
first email, if I weren't so trigger-happy), is if you want to log only
slow queries (with a configurable threshhold for what is "slow") or log
them all.  Maybe have trace level 5 always log them, and at other levels
it just logs it when above the threshhold?

>   Prompted by a recent dbmail list message on slow queries, it seems
> like it should be relatively easy to implement and quite useful to wrap
> a timer around every database call when tracing at level 5, and print
> the out the time it took to execute.  I'd simply file an RFE for that in
> the bugtracker, but following etiquette, figured I'd kick it out here
> first.

-- 
Jesse Norell
Kentec Communications, Inc.
[EMAIL PROTECTED]
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to