summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2020-01-18 02:09:50 +0100
committerMichaIng <micha@dietpi.com>2020-01-18 18:09:10 +0100
commitfbf93de67a594220c1d464c1065b0cc6ee19e89c (patch)
treef969a548c262fe7386f6fcea5fb8454cd3005d7a /lib
parent357e8b76e84d1a121a7ee7a2fa133de7dd273906 (diff)
downloadnextcloud-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.php2
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' ]
);