CRM-18093 point query debugging to separate log file
authoreileen <emcnaughton@wikimedia.org>
Wed, 24 Feb 2016 20:57:57 +0000 (09:57 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 24 Feb 2016 20:59:09 +0000 (09:59 +1300)
CRM/Core/Error.php

index 3c7e13186b067392d37972e73d77bfd728b61a27..e8c190d0d6e9f8e9083cff75d10d47f05f6c18ca 100644 (file)
@@ -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');
       }
     }
   }