diff --git a/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php b/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php index 15c3856484..23c1245d24 100644 --- a/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php +++ b/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php @@ -42,11 +42,6 @@ class BuildMissingSubdefs extends Command */ protected function doExecute(InputInterface $input, OutputInterface $output) { - if ($input->getOption('verbose')) { - $handler = new StreamHandler('php://stdout'); - $this->container['monolog']->pushHandler($handler); - } - $start = microtime(true); $n = 0; diff --git a/lib/classes/module/console/taskrun.php b/lib/classes/module/console/taskrun.php index ae8dadc6a1..bf5b7d176b 100644 --- a/lib/classes/module/console/taskrun.php +++ b/lib/classes/module/console/taskrun.php @@ -95,10 +95,6 @@ class module_console_taskrun extends Command } } - if ($input->getOption('verbose')) { - $this->container['monolog']->pushHandler(new StreamHandler('php://stdout')); - } - $logfile = __DIR__ . '/../../../../logs/task_' . $task_id . '.log'; $this->container['monolog']->pushHandler(new RotatingFileHandler($logfile, 10)); $this->task = $task_manager->getTask($task_id, $this->container['monolog']);