From 83717a7800e8854b3f3ba17608157598d1fe28ca Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Fri, 25 Feb 2022 16:18:02 +0100 Subject: Add event logging for db and redis connection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Server.php') diff --git a/lib/private/Server.php b/lib/private/Server.php index 6619302a020..ec74857fd20 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -718,7 +718,7 @@ class Server extends ServerContainer implements IServerContainer { $this->registerService('RedisFactory', function (Server $c) { $systemConfig = $c->get(SystemConfig::class); - return new RedisFactory($systemConfig); + return new RedisFactory($systemConfig, $c->getEventLogger()); }); $this->registerService(\OCP\Activity\IManager::class, function (Server $c) { -- cgit v1.2.3