mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
Fetch logcondition earlier
Fixes #9693 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
b1af610069
commit
8cdd134e7e
1 changed files with 2 additions and 1 deletions
|
|
@ -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'];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue