Epic #83968: PSR-11 Initiative
A LogRecord should not rely on global state (requestId from Bootstrap)
[TASK] Inject requestId into LogRecords
Do not use global state from Bootstrap::getInstance(), rather pass
the requestId from LogManager through the Logger to the LogRecord.
We do not have a core object container yet, therefore Bootstrap now
creates a LogManager, injects the requestId and stores that instance
as singleton in the GeneralUtility singleton storage.
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Frank Naegler <email@example.com>
Tested-by: Frank Naegler <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>