Skip to content
Snippets Groups Projects
Commit 2d3e6c51 authored by mfb's avatar mfb
Browse files

Pass the RFC 3164 severity level thru to drupal watchdog.

parent 5c050e1a
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