summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-01-10 12:25:49 +0100
committerGitHub <noreply@github.com>2018-01-10 12:25:49 +0100
commitfe12b2b05daec870f896ae653f9a19dbf12011e3 (patch)
tree66abdb2c133cf6c7cc9acdff4d42271fa3d5807d
parent1f85b98b1d6c4774762b60d93f2dd439deaa0acf (diff)
parentf6d84bdb2301e86e74ae90ed40e8f2770e0dbe48 (diff)
downloadnextcloud-server-fe12b2b05daec870f896ae653f9a19dbf12011e3.tar.gz
nextcloud-server-fe12b2b05daec870f896ae653f9a19dbf12011e3.zip
Merge pull request #7766 from nextcloud/log_properly_7755
Log a missing setting as INFO not as WARNING
-rw-r--r--lib/private/Settings/Manager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php
index cd0af5e7bb2..efeedbe6fcc 100644
--- a/lib/private/Settings/Manager.php
+++ b/lib/private/Settings/Manager.php
@@ -47,6 +47,7 @@ use OCP\Lock\ILockingProvider;
use OCP\Settings\ISettings;
use OCP\Settings\IManager;
use OCP\Settings\ISection;
+use OCP\Util;
class Manager implements IManager {
/** @var ILogger */
@@ -344,7 +345,7 @@ class Manager implements IManager {
try {
return \OC::$server->query($className);
} catch (QueryException $e) {
- $this->log->logException($e);
+ $this->log->logException($e, ['level' => Util::INFO]);
throw $e;
}
}