Merge pull request #1523 from nextcloud/change_min_log_level
Change the minimum log level to fatal
This commit is contained in:
commit
982ffa9092
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue