Skip to content
Snippets Groups Projects
Unverified Commit 96a959a2 authored by mattwire's avatar mattwire Committed by GitHub
Browse files

Merge pull request #14185 from mfb/watchdog

Pass the RFC 3164 severity level thru to drupal watchdog.
parents 2e5c58fc 2d3e6c51
Branches
Tags
No related merge requests found
......@@ -617,7 +617,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
if (!empty(\Civi::$statics[__CLASS__]['userFrameworkLogging'])) {
// should call $config->userSystem->logger($message) here - but I got a situation where userSystem was not an object - not sure why
if ($config->userSystem->is_drupal and function_exists('watchdog')) {
watchdog('civicrm', '%message', ['%message' => $message], WATCHDOG_DEBUG);
watchdog('civicrm', '%message', ['%message' => $message], isset($priority) ? $priority : WATCHDOG_DEBUG);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment