aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log.php
diff options
context:
space:
mode:
authorJuan Pablo Villafáñez <jvillafanez@solidgear.es>2016-09-26 08:43:42 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-09-26 11:41:20 +0200
commit26f1ea1ceacf447d039904e8f744576c49f990a5 (patch)
tree58282fa7c66b1f206f7e3f620300585787744aac /lib/private/Log.php
parent244de6451b22a1288d3ef698f48fb9c4e78bf15f (diff)
downloadnextcloud-server-26f1ea1ceacf447d039904e8f744576c49f990a5.tar.gz
nextcloud-server-26f1ea1ceacf447d039904e8f744576c49f990a5.zip
Change the minimum log level to fatal
Downstreaming of https://github.com/owncloud/core/pull/26213 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r--lib/private/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php
index 3e0734965b0..b76cb4f8c28 100644
--- a/lib/private/Log.php
+++ b/lib/private/Log.php
@@ -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']);