diff options
author | MichaIng <micha@dietpi.com> | 2020-01-18 02:09:50 +0100 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2020-01-18 18:09:10 +0100 |
commit | fbf93de67a594220c1d464c1065b0cc6ee19e89c (patch) | |
tree | f969a548c262fe7386f6fcea5fb8454cd3005d7a /lib | |
parent | 357e8b76e84d1a121a7ee7a2fa133de7dd273906 (diff) | |
download | nextcloud-server-fbf93de67a594220c1d464c1065b0cc6ee19e89c.tar.gz nextcloud-server-fbf93de67a594220c1d464c1065b0cc6ee19e89c.zip |
Reduce legacy event log level to debug
This is to reduce log flooding on info log level, which is currently expected tue to deprecated event use in many apps and core: https://github.com/nextcloud/server/issues/18331
This information is helpful for developers only, hence should be sufficient as debug log. Especially due to the extremely high frequency this log can happen, this currently practically forces admins to disable info logs, which conflicts with other needs.
Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/EventDispatcher/SymfonyAdapter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/EventDispatcher/SymfonyAdapter.php b/lib/private/EventDispatcher/SymfonyAdapter.php index 4d473854962..dd5e702a602 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' ] ); |