Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Blog:
Using Propel 1.4 detailed logging
Nov 12, 2009 @ 07:50:37

On the Symfony blog today there's a new post by Fabian Lange about using the detailed logging ability of the newly released version of Propel (the database abstraction layer).

Today Propel 1.4 was released and it contains some debugging goodies. We can use the DebugPDO class to get the nifty logging into the Web Debug Panel. However some more interesting information is turned off by default by Propel.

Features include time logging, memory logging and slow query logging - all that are simple to enable in your configuration under the details for your propel connection. You can see an example of the output from the logging here.

tagged: detailed logging time memory slowquery

Link: