Skip to content
Snippets Groups Projects
Commit 982ffa90 authored by Lukas Reschke's avatar Lukas Reschke Committed by GitHub
Browse files

Merge pull request #1523 from nextcloud/change_min_log_level

Change the minimum log level to fatal
parents 0c6957df 26f1ea1c
No related branches found
No related tags found
No related merge requests found
......@@ -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']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment