diff --git a/core/Command/Maintenance/Repair.php b/core/Command/Maintenance/Repair.php index 2a3d7a908e2..525caba9662 100644 --- a/core/Command/Maintenance/Repair.php +++ b/core/Command/Maintenance/Repair.php @@ -29,6 +29,7 @@ namespace OC\Core\Command\Maintenance; use Exception; +use OC\Console\TimestampFormatter; use OCP\App\IAppManager; use OCP\IConfig; use Symfony\Component\Console\Command\Command; @@ -79,6 +80,9 @@ class Repair extends Command { } protected function execute(InputInterface $input, OutputInterface $output): int { + // Prepend each line with a little timestamp + $timestampFormatter = new TimestampFormatter($this->config, $output->getFormatter()); + $output->setFormatter($timestampFormatter); $repairSteps = $this->repair::getRepairSteps(); if ($input->getOption('include-expensive')) {