DBAL-134: Doctrine\DBAL\Connection::query() no logging #1285

doctrinebot opened this Issue Jun 24, 2011 · 2 comments

2 participants


Jira issue originally created by user chebba:

Doctrine\DBAL\Connection::query() does not use SqlLogger.

I guess it may be fixed like this:

    public function query()

        $args = func*get*args();

        $logger = $this->getConfiguration()->getSQLLogger();
        if ($logger) {

        $statement = call*user_func_array(array($this->*conn, 'query'), $args);

        if ($logger) {

        return $statement;

Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0.7 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment