Skip to content

Commit f652c14

Browse files
authored
Reduce legacy event log level to debug
This is to reduce log flooding on info log level, which is currently expected tue to deprecated event use in many apps and core: #18331 This information is helpful for developers only, hence should be sufficient as debug log. Especially due to the extremely high frequency this log can happen, this currently practically forces admins to disable info logs, which conflicts with other needs. Signed-off-by: MichaIng <micha@dietpi.com>
1 parent 54012a6 commit f652c14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/EventDispatcher/SymfonyAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function dispatch($eventName, $event = null) {
6363
$this->eventDispatcher->dispatch($eventName, $event);
6464
} else {
6565
// Legacy event
66-
$this->logger->info(
66+
$this->logger->debug(
6767
'Deprecated event type for {name}: {class}',
6868
[ 'name' => $eventName, 'class' => is_object($event) ? get_class($event) : 'null' ]
6969
);

0 commit comments

Comments
 (0)