Merge pull request #1548 from nextcloud/stable9.1-d887671424e6a5980401f552f163062003afce94

[stable10] Change the minimum log level to fatal (#26213)
This commit is contained in:
Morris Jobke 2016-09-28 22:01:58 +02:00 committed by GitHub
commit 1a1ec21943
1 changed files with 1 additions and 1 deletions

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