mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 18:44:30 +00:00
Add second logging channel
This commit is contained in:
@@ -96,8 +96,8 @@ class module_console_taskrun extends Command
|
||||
}
|
||||
|
||||
$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']);
|
||||
$this->container['task-manager.logger']->pushHandler(new RotatingFileHandler($logfile, 10));
|
||||
$this->task = $task_manager->getTask($task_id, $this->container['task-manager.logger']);
|
||||
|
||||
$lib2v = array(
|
||||
'DEBUG' => \task_abstract::LOG_DEBUG,
|
||||
|
Reference in New Issue
Block a user