Breaking: #82430 - Replaced GeneralUtility::sysLog with Logging API¶
See forge#82430
Description¶
The original sysLog() logging API has been superseded by the Logging API.
Therefore, General
and General
have been deprecated.
The configuration $GLOBALS
has been changed to a boolean value.
The option $GLOBALS
has been removed.
Impact¶
The Logging API needs custom writer configuration to send the log entries of your choice to the PHP error log, the syslog facility or a file.
Affected Installations¶
Any instance having a configuration set for $GLOBALS
.
Migration¶
Add a custom log writer configuration to send log entries to the destination of your choice.
The Logging API provides these writers as replacements for the original configuration options:
\TYPO3\
CMS\ Core\ Log\ Writer\ Syslog Writer \TYPO3\
CMS\ Core\ Log\ Writer\ Php Error Log Writer \TYPO3\
CMS\ Core\ Log\ Writer\ File Writer
More details on the configuration of log writers can be found in the Core API Reference at https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Logging/Writers/Index.html.