From c88402db47d2c2bde440cf7c677b2cfc9f07c55d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 2 Jul 2020 10:49:11 +0200 Subject: [PATCH] Log deprecated events as debug Since this can spam the log quite agressively we should log it as debug and not info. Signed-off-by: Roeland Jago Douma --- lib/private/EventDispatcher/SymfonyAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/EventDispatcher/SymfonyAdapter.php b/lib/private/EventDispatcher/SymfonyAdapter.php index b1a39a7913..5bba275b2a 100644 --- a/lib/private/EventDispatcher/SymfonyAdapter.php +++ b/lib/private/EventDispatcher/SymfonyAdapter.php @@ -63,7 +63,7 @@ class SymfonyAdapter implements EventDispatcherInterface { $this->eventDispatcher->dispatch($eventName, $event); } else { // Legacy event - $this->logger->info( + $this->logger->debug( 'Deprecated event type for {name}: {class}', [ 'name' => $eventName, 'class' => is_object($event) ? get_class($event) : 'null' ] );