diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-08-23 03:12:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 03:12:37 +0300 |
commit | 2b8b7d0103ef2627ac32ff2cf06560749e5083a1 (patch) | |
tree | 34a9839553f28c3fc5ecc14c43fd415e89d165c6 /plugins/CoreAdminHome | |
parent | 5039b8effa058ef6b65c966d5d2b7cad76c3a523 (diff) |
Fix logging when invalidating reports (#19641)
Diffstat (limited to 'plugins/CoreAdminHome')
-rw-r--r-- | plugins/CoreAdminHome/Commands/InvalidateReportData.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/Commands/InvalidateReportData.php b/plugins/CoreAdminHome/Commands/InvalidateReportData.php index cdb1f3240e..4b10f9e2c3 100644 --- a/plugins/CoreAdminHome/Commands/InvalidateReportData.php +++ b/plugins/CoreAdminHome/Commands/InvalidateReportData.php @@ -1,4 +1,5 @@ <?php + /** * Matomo - free/libre analytics platform * @@ -109,7 +110,9 @@ class InvalidateReportData extends ConsoleCommand false, $plugin, $ignoreLogDeletionLimit); if ($output->getVerbosity() > OutputInterface::VERBOSITY_NORMAL) { - $logger->info($invalidationResult->makeOutputLogs()); + foreach ($invalidationResult->makeOutputLogs() as $outputLog) { + $logger->info($outputLog); + } } } } |