Merge pull request #21652 from nextcloud/enh/log_dep_as_debug
Log deprecated events as debug
This commit is contained in:
commit
8054bc921e
|
@ -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