Skip to content

Commit

Permalink
Merge pull request #30519 from demeritcowboy/pearlog-locale
Browse files Browse the repository at this point in the history
followup to 30484 - calling pear log setLocale doesn't do anything anymore
  • Loading branch information
seamuslee001 authored Jun 20, 2024
2 parents 7f91ddd + b7f1b06 commit fa32d35
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CRM/Core/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fa32d35

Please sign in to comment.