diff --git a/core/ArchiveProcessor/PluginsArchiver.php b/core/ArchiveProcessor/PluginsArchiver.php index 42b497c4b74d4f150bb118f0d083365d360176ac..f251551a6db93cbac79b05b4645861a3fa0c050e 100644 --- a/core/ArchiveProcessor/PluginsArchiver.php +++ b/core/ArchiveProcessor/PluginsArchiver.php @@ -138,11 +138,12 @@ class PluginsArchiver $this->logAggregator->setQueryOriginHint(''); - Log::debug("PluginsArchiver::%s: %s while archiving %s reports for plugin '%s'.", + Log::debug("PluginsArchiver::%s: %s while archiving %s reports for plugin '%s' %s.", __FUNCTION__, $timer->getMemoryLeak(), $this->params->getPeriod()->getLabel(), - $pluginName + $pluginName, + $this->params->getSegment() ? sprintf("(for segment = '%s')", $this->params->getSegment()->getString()) : '' ); } catch (Exception $e) { $className = get_class($e); diff --git a/core/Plugin/ConsoleCommand.php b/core/Plugin/ConsoleCommand.php index 91d18c5c77a76baa2888e426177080be94ec7be4..e009f058e708d6075ba58291ba72e9b9bb8efcc5 100644 --- a/core/Plugin/ConsoleCommand.php +++ b/core/Plugin/ConsoleCommand.php @@ -39,7 +39,7 @@ class ConsoleCommand extends SymfonyCommand $value = $input->getOption($name); if ($option->isValueRequired() && empty($value)) { - throw new \InvalidArgumentException(sprintf('The required option %s is not set', $name)); + throw new \InvalidArgumentException(sprintf('The required option --%s is not set', $name)); } } } diff --git a/plugins/CoreAdminHome/Commands/SetConfig.php b/plugins/CoreAdminHome/Commands/SetConfig.php index 49b1925fd3fac90a42a8bc0060ae6a668b305f63..9f2d6f0b9a217cc33787817f921124c32e3d099c 100644 --- a/plugins/CoreAdminHome/Commands/SetConfig.php +++ b/plugins/CoreAdminHome/Commands/SetConfig.php @@ -73,12 +73,12 @@ Use the --piwik-domain option to specify which instance to modify. foreach ($manipulations as $manipulation) { $manipulation->manipulate($config); - $output->writeln("<info>Setting [{$manipulation->getSectionName()}] {$manipulation->getName()} = {$manipulation->getValueString()}</info>"); + $output->write("<info>Setting [{$manipulation->getSectionName()}] {$manipulation->getName()} = {$manipulation->getValueString()}...</info>"); + $output->writeln("<info> done.</info>"); } $config->forceSave(); - $this->writeSuccessMessage($output, array("Done.")); } /**