summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-09-26 13:16:40 +0200
committerGitHub <noreply@github.com>2016-09-26 13:16:40 +0200
commit982ffa9092e66c74965d2f0f6be34d39bbda1875 (patch)
tree2d30891dd5dcb58b27c7c3588cf6ed8cacbd0d96
parent0c6957dfb72a1ecb9f4286e22955ef751bb06142 (diff)
parent26f1ea1ceacf447d039904e8f744576c49f990a5 (diff)
downloadnextcloud-server-982ffa9092e66c74965d2f0f6be34d39bbda1875.tar.gz
nextcloud-server-982ffa9092e66c74965d2f0f6be34d39bbda1875.zip
Merge pull request #1523 from nextcloud/change_min_log_level
Change the minimum log level to fatal
-rw-r--r--lib/private/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php
index 3e0734965b0..b76cb4f8c28 100644
--- a/lib/private/Log.php
+++ b/lib/private/Log.php
@@ -233,7 +233,7 @@ class Log implements ILogger {
* @return void
*/
public function log($level, $message, array $context = array()) {
- $minLevel = min($this->config->getValue('loglevel', Util::WARN), Util::ERROR);
+ $minLevel = min($this->config->getValue('loglevel', Util::WARN), Util::FATAL);
$logCondition = $this->config->getValue('log.condition', []);
array_walk($context, [$this->normalizer, 'format']);