From: eileen Date: Wed, 24 Feb 2016 20:57:57 +0000 (+1300) Subject: CRM-18093 point query debugging to separate log file X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b0ccde7ba4aecc4245508841c788bda21eaad190;p=civicrm-core.git CRM-18093 point query debugging to separate log file --- diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index 3c7e13186b..e8c190d0d6 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -611,7 +611,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { CRM_Core_Error::backtrace($string, TRUE); } elseif (CIVICRM_DEBUG_LOG_QUERY) { - CRM_Core_Error::debug_var('Query', $string, TRUE, TRUE); + CRM_Core_Error::debug_var('Query', $string, TRUE, TRUE, 'sql_log'); } } }