From 38a90130ce425d531a804dff591df4a883de3154 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 25 Apr 2018 15:22:28 +0200 Subject: move log constants to ILogger Signed-off-by: Arthur Schiwon --- apps/federation/lib/Middleware/AddServerMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/federation/lib/Middleware') diff --git a/apps/federation/lib/Middleware/AddServerMiddleware.php b/apps/federation/lib/Middleware/AddServerMiddleware.php index c6ac42bd7c3..09335a0cdff 100644 --- a/apps/federation/lib/Middleware/AddServerMiddleware.php +++ b/apps/federation/lib/Middleware/AddServerMiddleware.php @@ -72,7 +72,7 @@ class AddServerMiddleware extends Middleware { throw $exception; } $this->logger->logException($exception, [ - 'level' => \OCP\Util::ERROR, + 'level' => ILogger::ERROR, 'app' => $this->appName, ]); if ($exception instanceof HintException) { -- cgit v1.2.3