mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Fix log view
This commit is contained in:
@@ -104,8 +104,8 @@ class module_console_taskrun extends Command
|
||||
$logger->pushHandler($handler);
|
||||
}
|
||||
|
||||
$logfile = __DIR__ . '/../../../../task_l_' . $task_id . '.log';
|
||||
$handler = new Handler\RotatingFileHandler($logfile, 10, $level = Logger::WARNING);
|
||||
$logfile = __DIR__ . '/../../../../logs/task_' . $task_id . '.log';
|
||||
$handler = new Handler\RotatingFileHandler($logfile, 10);
|
||||
$logger->pushHandler($handler);
|
||||
|
||||
$this->task = $task_manager->getTask($task_id, $logger);
|
||||
|
Reference in New Issue
Block a user