From c78e6f593568d745bb669ae5058892092f59270a Mon Sep 17 00:00:00 2001 From: Mathieu Lu Date: Fri, 22 Sep 2023 14:23:52 -0400 Subject: [PATCH] dev/core#4270 createDebugLogger/ConfigAndLog: use a standard date format --- CRM/Core/Error.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index fd6ae04c14..bdc6e6d03e 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -655,7 +655,9 @@ class CRM_Core_Error extends PEAR_ErrorStack { */ public static function createDebugLogger($prefix = '') { self::generateLogFileName($prefix); - return Log::singleton('file', \Civi::$statics[__CLASS__]['logger_file' . $prefix], ''); + return Log::singleton('file', \Civi::$statics[__CLASS__]['logger_file' . $prefix], '', [ + 'timeFormat' => '%Y-%m-%d %H:%M:%S%z', + ]); } /** -- 2.25.1