Howto write doctrine sql log to a seperate file in symfony (2.0)

Category: Symfony Tags: doctrine , monolog

Do you want to write the doctrine sql log to a separate file/handler. Well it seems not that easy in the first but I looked into it and it is not as complicated as you might think...

read more...