ZendFramework - Finding out what queries are being run - Easier way

Hi There,

Was wondering if there is an easier way to see the queries are being being run by my models?

I know the alternate options are xDebug and Firebug but was wondering an easier method.

Anyone?

Thanks

Take a look at the docs for Zend Log and [URL=“http://framework.zend.com/manual/en/zend.db.html”]Zend Db, maybe even [URL=“http://framework.zend.com/manual/en/zend.db.profiler.html”]Zend Db Profiler

Attach a log to your DB object?

How do we do that?

Example pls?

Many thanks