mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Use stream URI instead of strema object for logger
This commit is contained in:
@@ -104,7 +104,7 @@ class module_console_taskrun extends Command
|
||||
$logger = $core['monolog'];
|
||||
|
||||
if ($input->getOption('verbose')) {
|
||||
$handler = new Handler\StreamHandler(fopen('php://stdout', 'a'));
|
||||
$handler = new Handler\StreamHandler('php://stdout');
|
||||
$logger->pushHandler($handler);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user