[stable9.1] Change the minimum log level to fatal (#26213)

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Juan Pablo Villafañez 2016-09-26 10:34:10 +02:00 committed by Lukas Reschke
parent c6cf5f40af
commit 6fd3974c8b
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class Log implements ILogger {
* @return void * @return void
*/ */
public function log($level, $message, array $context = array()) { 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', []); $logCondition = $this->config->getValue('log.condition', []);
array_walk($context, [$this->normalizer, 'format']); array_walk($context, [$this->normalizer, 'format']);