We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c425041 commit c224f2eCopy full SHA for c224f2e
lib/SetupChecks/LogErrors.php
@@ -74,7 +74,7 @@ public function run(): SetupResult {
74
if (array_sum($count) === 0) {
75
return SetupResult::success($this->l10n->t('No errors in the logs since %s', $this->dateFormatter->formatDate($limit)));
76
} elseif ($count[self::LEVEL_ERROR] + $count[self::LEVEL_FATAL] > 0) {
77
- return SetupResult::error(
+ return SetupResult::warning(
78
$this->l10n->n(
79
'%n error in the logs since %s',
80
'%n errors in the logs since %s',
@@ -83,7 +83,7 @@ public function run(): SetupResult {
83
)
84
);
85
} else {
86
- return SetupResult::warning(
+ return SetupResult::info(
87
88
'%n warning in the logs since %s',
89
'%n warnings in the logs since %s'.json_encode($count),
0 commit comments