diff --git a/src/MDOutputHandler.php b/src/MDOutputHandler.php index 3929244..612a8b8 100644 --- a/src/MDOutputHandler.php +++ b/src/MDOutputHandler.php @@ -136,7 +136,7 @@ class MDOutputHandler { file_put_contents($this->_logfile, $message, FILE_APPEND); } - if (($this->_verbosity > 0 && $statusCode > 1) || $this->_verbosity === 2) echo $message; + if (($this->_verbosity > 0 && in_array($statusCode, [MDConsole::STATUS_UPDATE, MDConsole::STATUS_DELETION, MDConsole::STATUS_ERROR])) || $this->_verbosity === 2) echo $message; if ($this->_counter % 250 === 0) { echo '―――> ' . sprintf("%1$07d", $this->_counter) . " operations processed" . PHP_EOL;