diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index f3e2e734d0d..5cfaccf59ab 100644 --- a/lib/base.php +++ b/lib/base.php @@ -54,6 +54,7 @@ * */ +use OCP\ILogger; use OCP\Share; use OC\Encryption\HookManager; use OC\Files\Filesystem; @@ -828,7 +829,7 @@ class OC { // so log the exception \OC::$server->getLogger()->logException($e, [ 'message' => 'Exception when running cache gc.', - 'level' => \OCP\Util::WARN, + 'level' => ILogger::WARN, 'app' => 'core', ]); } |