removed silent fail of logfile permission (should get fixed with #6745 )
This commit is contained in:
parent
5fc42a744e
commit
e48c608db0
1 changed files with 0 additions and 6 deletions
|
@ -157,12 +157,6 @@ class LoggerFactory
|
|||
$loglevel = LogLevel::NOTICE;
|
||||
}
|
||||
|
||||
// if the stream is a file and it isn't writeable, add a null handler and return
|
||||
if (is_file($stream) && !is_writable($stream)) {
|
||||
$logger->pushHandler(new Monolog\Handler\NullHandler());
|
||||
return;
|
||||
}
|
||||
|
||||
$fileHandler = new Monolog\Handler\StreamHandler($stream, $loglevel);
|
||||
|
||||
$formatter = new Monolog\Formatter\LineFormatter("%datetime% %channel% [%level_name%]: %message% %context% %extra%\n");
|
||||
|
|
Loading…
Reference in a new issue