projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
728fadb
)
dev/core#4270 createDebugLogger/ConfigAndLog: use a standard date format
author
Mathieu Lu
<mathieu@symbiotic.coop>
Fri, 22 Sep 2023 18:23:52 +0000
(14:23 -0400)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Wed, 27 Sep 2023 12:40:12 +0000
(08:40 -0400)
CRM/Core/Error.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Error.php
b/CRM/Core/Error.php
index fd6ae04c147503d78ff4fa7651fc103a02a093f4..bdc6e6d03e8da12925850baa33b6f03b3d73e0c9 100644
(file)
--- 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',
+ ]);
}
/**