Project

General

Profile

Actions

Feature #43347

closed

Use microseconds for syslog file entry

Added by Timo Webler almost 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Logging
Target version:
-
Start date:
2012-11-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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 ?>
Actions #1

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

Actions #2

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

Actions #3

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.

Actions #4

Updated by Thorsten Kahler almost 12 years ago

  • Status changed from Under Review to Rejected

I abandoned the change request in Gerrit.

Actions

Also available in: Atom PDF