]> source.dussan.org Git - nextcloud-server.git/commitdiff
[stable9.1] Change the minimum log level to fatal (#26213) 1548/head
authorJuan Pablo VillafaƱez <jvillafanez@solidgeargroup.com>
Mon, 26 Sep 2016 08:34:10 +0000 (10:34 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 27 Sep 2016 16:40:13 +0000 (18:40 +0200)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
lib/private/Log.php

index 018461e23b6405891852494df34baba733601ea6..6268de2bd5783b65089c87862c9bf1cd889ce98e 100644 (file)
@@ -228,7 +228,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']);