Issue Feature New

#108379Provide a $this->logger property in Extbase ActionController.

Lina Wolf 12/02/25, 13:30 updated 11/09/26, 11:16

Description

Currently, developers must use LoggerAwareInterface and LoggerAwareTrait to access a logger. Because method injection is not supported and constructor injection is difficult due to ActionController inheritance, getting a logger is more complicated than it should be. This often discourages especially newer developers from using logging at all.

Providing a preconfigured $this->logger (similar to eventDispatcher, uriBuilder, and flash message helpers) would make logging easier and more consistent in Extbase controllers.

This also supports the TYPO3 v14 roadmap goals of reducing complexity and lowering the entry barrier for developers. (https://news.typo3.com/archive/roadmap-for-typo3-v14-the-high-level-objectives-and-strategic-goals)

Reviews 1

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". The changes above were merged or abandoned: read them before you start. How to create a patch

Commit message
[FEATURE] Provide a $this->logger property in Extbase ActionController. Resolves: #108379 Releases: main

History 38

  1. Lina Wolf changed subject Feature request: Provide a $this->logger property in Extbase ActionController. Provide a $this->logger property in Extbase ActionController. <span data-processor="relativetime" data-value="2025-12-02T15:37:14+00:00" > 12/02/25, 15:37 </span>