Log queries for all connections even if it wasn't active
Add doctrine twig extension for better SQL formatting