Bug #65577
closedLogging API does not cope with Exceptions properly
100%
Description
Logging exceptions via Logging API does not print them as the LogRecord processes the exception through json_encode which results in an empty object.
Testcode:
ini_set('zlib.output_compression',0);
header('Content-type: text/plain; charset=utf-8');
$e = new Exception('foo');
$msg = (string)$e;
$msg2 = json_encode($e);
echo $msg;
echo "\n\n";
echo $msg2;
$msg2
gives an empty result {}
.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37602
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37602
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37602
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37602
Updated by Markus Klein almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c49474f916991298bd115bb1fc4333b312f07dd8.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37621
Updated by Markus Klein almost 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset aba076af25a8386805d9633149cba9a0682be020.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37638
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37896
Updated by Steffen Müller over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset ad3a03b7cafe6e4334552dec6e99625a0b85d146.
Updated by Mathias Brodala 4 months ago
- Related to Task #104477: Remove the hyphen as prefix for log context data in the DatabaseWriter added