[stable9.1] Change the minimum log level to fatal (#26213)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
c6cf5f40af
commit
6fd3974c8b
|
@ -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']);
|
||||||
|
|
Loading…
Reference in New Issue