title: Is there a way to enable SQL logging programmaticaly in Symfony2?
body: <p>In symfony2 is there a way to enable SQL logging programmaticaly, I mean, change the doctrine:dbal:logging item in config.yml at runtime ?</p>