diff --git a/app/code/Magento/Deploy/Console/ConsoleLogger.php b/app/code/Magento/Deploy/Console/ConsoleLogger.php index a7d3b48fde130..0ca34439c7d4f 100644 --- a/app/code/Magento/Deploy/Console/ConsoleLogger.php +++ b/app/code/Magento/Deploy/Console/ConsoleLogger.php @@ -82,8 +82,8 @@ class ConsoleLogger extends AbstractLogger LogLevel::CRITICAL => OutputInterface::VERBOSITY_NORMAL, LogLevel::ERROR => OutputInterface::VERBOSITY_NORMAL, LogLevel::WARNING => OutputInterface::VERBOSITY_NORMAL, - LogLevel::NOTICE => OutputInterface::VERBOSITY_VERBOSE, - LogLevel::INFO => OutputInterface::VERBOSITY_VERY_VERBOSE, + LogLevel::NOTICE => OutputInterface::VERBOSITY_NORMAL, + LogLevel::INFO => OutputInterface::VERBOSITY_VERBOSE, LogLevel::DEBUG => OutputInterface::VERBOSITY_DEBUG ]; diff --git a/app/code/Magento/Deploy/Process/Queue.php b/app/code/Magento/Deploy/Process/Queue.php index e5e10c8f54a19..75b21b2b7fb84 100644 --- a/app/code/Magento/Deploy/Process/Queue.php +++ b/app/code/Magento/Deploy/Process/Queue.php @@ -161,7 +161,7 @@ public function process() foreach ($packages as $name => $packageJob) { $this->assertAndExecute($name, $packages, $packageJob); } - $this->logger->notice('.'); + $this->logger->info('.'); sleep(3); foreach ($this->inProgress as $name => $package) { if ($this->isDeployed($package)) { @@ -214,7 +214,7 @@ private function awaitForAllProcesses() unset($this->inProgress[$name]); } } - $this->logger->notice('.'); + $this->logger->info('.'); sleep(5); } if ($this->isCanBeParalleled()) { diff --git a/app/code/Magento/Deploy/Service/DeployPackage.php b/app/code/Magento/Deploy/Service/DeployPackage.php index 2e7b10a159c3a..7a5eb09912471 100644 --- a/app/code/Magento/Deploy/Service/DeployPackage.php +++ b/app/code/Magento/Deploy/Service/DeployPackage.php @@ -267,7 +267,7 @@ private function register(Package $package, PackageFile $file = null, $skipLoggi $this->deployStaticFile->writeTmpFile('info.json', $package->getPath(), json_encode($info)); if (!$skipLogging) { - $this->logger->notice($logMessage); + $this->logger->info($logMessage); } } } diff --git a/setup/src/Magento/Setup/Console/Command/DeployStaticContentCommand.php b/setup/src/Magento/Setup/Console/Command/DeployStaticContentCommand.php index 4217c9ea5c650..6a4231259a1ca 100644 --- a/setup/src/Magento/Setup/Console/Command/DeployStaticContentCommand.php +++ b/setup/src/Magento/Setup/Console/Command/DeployStaticContentCommand.php @@ -127,7 +127,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $logger = $this->consoleLoggerFactory->getLogger($output, $verbose); if (!$refreshOnly) { - $logger->alert(PHP_EOL . "Deploy using {$options[Options::STRATEGY]} strategy"); + $logger->notice(PHP_EOL . "Deploy using {$options[Options::STRATEGY]} strategy"); } $this->mockCache(); @@ -140,7 +140,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $deployService->deploy($options); if (!$refreshOnly) { - $logger->alert(PHP_EOL . "Execution time: " . (microtime(true) - $time)); + $logger->notice(PHP_EOL . "Execution time: " . (microtime(true) - $time)); } return \Magento\Framework\Console\Cli::RETURN_SUCCESS; diff --git a/setup/src/Magento/Setup/Test/Unit/Console/Command/DeployStaticContentCommandTest.php b/setup/src/Magento/Setup/Test/Unit/Console/Command/DeployStaticContentCommandTest.php index 772098627fa89..a5dc0d24feb7c 100644 --- a/setup/src/Magento/Setup/Test/Unit/Console/Command/DeployStaticContentCommandTest.php +++ b/setup/src/Magento/Setup/Test/Unit/Console/Command/DeployStaticContentCommandTest.php @@ -102,7 +102,7 @@ public function testExecute($input) $this->consoleLoggerFactory->expects($this->once()) ->method('getLogger')->willReturn($this->logger); - $this->logger->expects($this->exactly(2))->method('alert'); + $this->logger->expects($this->exactly(2))->method('notice'); $this->objectManager->expects($this->once())->method('create')->willReturn($this->deployService); $this->deployService->expects($this->once())->method('deploy');