diff --git a/src/Service/ActivityMonitor.php b/src/Service/ActivityMonitor.php
index <HASH>..<HASH> 100644
--- a/src/Service/ActivityMonitor.php
+++ b/src/Service/ActivityMonitor.php
@@ -87,8 +87,9 @@ class ActivityMonitor
 
         // The progress bar will show elapsed time and the activity's state.
         $bar = $this->newProgressBar($stdErr);
-        $bar->setPlaceholderFormatterDefinition('state', function () use ($activity) {
-            return $this->formatState($activity->state);
+        $overrideState = '';
+        $bar->setPlaceholderFormatterDefinition('state', function () use ($activity, &$overrideState) {
+            return $this->formatState($overrideState ?: $activity->state);
         });
         $startTime = $this->getStart($activity) ?: time();
         $bar->setPlaceholderFormatterDefinition('elapsed', function () use ($startTime) {
@@ -126,6 +127,9 @@ class ActivityMonitor
                 continue;
             }
 
+            // If there is log output, assume the activity is in progress.
+            $overrideState = Activity::STATE_IN_PROGRESS;
+
             // Format log items.
             $formatted = $this->formatLog($items, $timestamps);
Assume activity state is 'in progress' while reading the log