Skip to content

Commit

Permalink
Append CIVICRM_DEBUG_LOG_QUERY to sql log var
Browse files Browse the repository at this point in the history
Same as civicrm/civicrm-core#18471 but for the other affected place
  • Loading branch information
eileenmcnaughton committed Oct 2, 2020
1 parent 0b57736 commit 3b2ab6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DB/DataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -2775,7 +2775,7 @@ function _query($string)
echo $message .= " not quite sure why this query does not have more info";
}
if ((defined('CIVICRM_DEBUG_LOG_QUERY') && CIVICRM_DEBUG_LOG_QUERY)) {
CRM_Core_Error::debug_log_message($message, FALSE, 'sql_log');
CRM_Core_Error::debug_log_message($message, FALSE, 'sql_log' . CIVICRM_DEBUG_LOG_QUERY);
}
else {
$this->debug($message, 'query', 1);
Expand Down

0 comments on commit 3b2ab6d

Please sign in to comment.