Add second logging channel

This commit is contained in:
Romain Neutron
2013-07-01 14:38:17 +02:00
parent 24f6f19731
commit ce34bca408
8 changed files with 91 additions and 34 deletions

View File

@@ -865,7 +865,7 @@ abstract class task_abstract
$tid = $dependencyContainer['phraseanet.appbox']->get_connection()->lastInsertId();
$task = new $class_name($tid, $dependencyContainer, $dependencyContainer['monolog']);
$task = new $class_name($tid, $dependencyContainer, $dependencyContainer['task-manager.logger']);
$task->setTitle($task->getName());
return $task;