Feature #43347
closedUse microseconds for syslog file entry
0%
Description
Since issue #16793, the configuration $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy']
and $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm']
is used for the date and time format, if syslog is written to a file.
It should be used the date and time format which is defined by RFC 5424
<?php
echo date('Y-m-d\TH:i:s.uP');
// 2012-11-27T09:21:03.000000+01:00
?>
Updated by Gerrit Code Review almost 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16803
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16803
Updated by Timo Webler almost 12 years ago
Please close issue.
See https://review.typo3.org/#/c/16803/
Patch Set 2: I would prefer that you didn't submit this
I would suggest to abandon this change, because 6.0 ships a completely rewritten Logging API (TYPO3\CMS\Core\Log). The API is meant to replace the old syslog functions from former t3lib_div in 6.1. The API ships a FileWriter which formats the timestamp following RFC 2822 using date('r', $timestamp). If you think this should be changed, then please open a separate issue.
Updated by Thorsten Kahler almost 12 years ago
- Status changed from Under Review to Rejected
I abandoned the change request in Gerrit.