From: Michael J. Rubinsky Date: Sun, 11 Apr 2010 15:20:23 +0000 (-0400) Subject: output the values in the log too X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8f45d2176f254c5559789e5e946520e568004c20;p=horde.git output the values in the log too --- diff --git a/nag/lib/Driver/Sql.php b/nag/lib/Driver/Sql.php index 2fd9c211b..628fef6a3 100644 --- a/nag/lib/Driver/Sql.php +++ b/nag/lib/Driver/Sql.php @@ -79,7 +79,7 @@ class Nag_Driver_Sql extends Nag_Driver { $values = array($this->_tasklist, $taskId); /* Log the query at a DEBUG log level. */ - Horde::logMessage(sprintf('Nag_Driver_Sql::get(): %s', $query), 'DEBUG'); + Horde::logMessage(sprintf('Nag_Driver_Sql::get(): %s VALUES: %s', $query, print_r($values, true)), 'DEBUG'); /* Execute the query. */ $result = $this->_db->query($query, $values);