Merge pull request #1523 from nextcloud/change_min_log_level

Change the minimum log level to fatal
This commit is contained in:
Lukas Reschke 2016-09-26 13:16:40 +02:00 committed by GitHub
commit 982ffa9092
1 changed files with 1 additions and 1 deletions

View File

@ -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']);