mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
Apply suggestions from code review
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -1129,12 +1129,7 @@ class ConfigurationManager
|
||||
}
|
||||
|
||||
private function getElasticLogLevel() : string {
|
||||
return match ($this->aioLogLevel) {
|
||||
'debug' => 'DEBUG',
|
||||
'info' => 'INFO',
|
||||
'error' => 'ERROR',
|
||||
default => 'WARN',
|
||||
};
|
||||
return strtoupper($this->aioLogLevel);
|
||||
}
|
||||
|
||||
private function booleanize(mixed $value) : bool {
|
||||
|
||||
Reference in New Issue
Block a user