#111650Use Monolog as backend of the TYPO3 logger
Description
The TYPO3 logger processes log records with its own writer and processor pipeline. Monolog, the logging library used by Symfony and Laravel, provides handlers for many targets (streams, syslog, e-mail, Slack, Elasticsearch, …), formatters (e.g. JSON lines for containers) and wrapping handlers (buffering, fingers crossed, deduplication).
As a first step, the Logger passes log records to Monolog internally while keeping its API: every log writer is wrapped in a Monolog handler, and the log processors run as one Monolog processor, in the order they were added. Writers and processors still receive TYPO3 log records, so their output does not change.
This allows to configure Monolog handlers and formatters for TYPO3 logging in a follow-up (#110222).
Reviews 2
History 03
-
Gerrit Code Review pushed patch set 1 for main to change 98154 status
NewUnder Review 11/28/26, 12:51 -
Gerrit Code Review pushed patch set 2 for main to change 98154 11/28/26, 14:06
-
Gerrit Code Review pushed patch set 3 for main to change 98154 11/28/26, 14:57