diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-04-24 11:14:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 11:14:41 +0200 |
commit | dcde970bd59e8f42b9d82ed4e66153f368b0a8e3 (patch) | |
tree | 0d1e3faf6641a5136fd920c162867d7b6cf2d7d5 /lib/private | |
parent | 8eda51de15f05dd4419926176109a6de2377ac88 (diff) | |
parent | ce71aa9acb9cf6bd9a6ea95acc852c5b5b3321b6 (diff) | |
download | nextcloud-server-dcde970bd59e8f42b9d82ed4e66153f368b0a8e3.tar.gz nextcloud-server-dcde970bd59e8f42b9d82ed4e66153f368b0a8e3.zip |
Merge pull request #37816 from nextcloud/fix/events/info-to-debug-log-legacy-events
fix(events): Log deprecated events as debug, not info
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/EventDispatcher/GenericEventWrapper.php | 2 | ||||
-rw-r--r-- | lib/private/EventDispatcher/SymfonyAdapter.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/EventDispatcher/GenericEventWrapper.php b/lib/private/EventDispatcher/GenericEventWrapper.php index b4d851d700f..f0807b57a8b 100644 --- a/lib/private/EventDispatcher/GenericEventWrapper.php +++ b/lib/private/EventDispatcher/GenericEventWrapper.php @@ -54,7 +54,7 @@ class GenericEventWrapper extends GenericEvent { } $class = ($this->event !== null && is_object($this->event)) ? get_class($this->event) : 'null'; - $this->logger->info( + $this->logger->debug( 'Deprecated event type for {name}: {class} is used', [ 'name' => $this->eventName, 'class' => $class] ); diff --git a/lib/private/EventDispatcher/SymfonyAdapter.php b/lib/private/EventDispatcher/SymfonyAdapter.php index aa6fcbc1ad3..7354d58d4e0 100644 --- a/lib/private/EventDispatcher/SymfonyAdapter.php +++ b/lib/private/EventDispatcher/SymfonyAdapter.php @@ -105,7 +105,7 @@ class SymfonyAdapter implements EventDispatcherInterface { $newEvent = $event; // Legacy event - $this->logger->info( + $this->logger->debug( 'Deprecated event type for {name}: {class}', ['name' => $eventName, 'class' => is_object($event) ? get_class($event) : 'null'] ); |