diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index b592462a432a..14fb066f844c 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -661,9 +661,6 @@ public static function createDebugLogger($prefix = '') { $log = Log::singleton('file', \Civi::$statics[__CLASS__]['logger_file' . $prefix], '', [ 'timeFormat' => 'Y-m-d H:i:sO', ]); - if (is_callable([$log, 'setLocale'])) { - $log->setLocale(CRM_Core_I18n::getLocale()); - } return $log; }