mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Remove duplicate verbosity check
This commit is contained in:
@@ -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']);
|
||||
|
Reference in New Issue
Block a user