Merge pull request #21652 from nextcloud/enh/log_dep_as_debug

Log deprecated events as debug
This commit is contained in:
Roeland Jago Douma 2020-07-02 12:00:23 +02:00 committed by GitHub
commit 8054bc921e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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' ]
);