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 <roeland@famdouma.nl>
This commit is contained in:
parent
7fd34d5d64
commit
c88402db47
|
@ -63,7 +63,7 @@ class SymfonyAdapter implements EventDispatcherInterface {
|
||||||
$this->eventDispatcher->dispatch($eventName, $event);
|
$this->eventDispatcher->dispatch($eventName, $event);
|
||||||
} else {
|
} else {
|
||||||
// Legacy event
|
// Legacy event
|
||||||
$this->logger->info(
|
$this->logger->debug(
|
||||||
'Deprecated event type for {name}: {class}',
|
'Deprecated event type for {name}: {class}',
|
||||||
[ 'name' => $eventName, 'class' => is_object($event) ? get_class($event) : 'null' ]
|
[ 'name' => $eventName, 'class' => is_object($event) ? get_class($event) : 'null' ]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue