Skip to content
Snippets Groups Projects
Unverified Commit 8cdd134e authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Fetch logcondition earlier


Fixes #9693

Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent b1af6100
No related branches found
No related tags found
No related merge requests found
......@@ -220,6 +220,8 @@ class Log implements ILogger {
}
private function getLogLevel($context) {
$logCondition = $this->config->getValue('log.condition', []);
/**
* check for a special log condition - this enables an increased log on
* a per request/user base
......@@ -265,7 +267,6 @@ class Log implements ILogger {
}
if (isset($context['app'])) {
$logCondition = $this->config->getValue('log.condition', []);
$app = $context['app'];
/**
......
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