mirror of
https://github.com/friendica/friendica
synced 2025-04-26 10:30:11 +00:00
Add Fallback in case the logfile isn't accessible.
- Fixes https://github.com/friendica/friendica/issues/7756#issuecomment-544227862
This commit is contained in:
parent
2edccf9341
commit
0e84a843a4
2 changed files with 23 additions and 13 deletions
|
@ -81,6 +81,8 @@ class StreamLogger extends AbstractLogger
|
|||
} else {
|
||||
throw new \InvalidArgumentException(sprintf('The level "%s" is not valid.', $level));
|
||||
}
|
||||
|
||||
$this->checkStream();
|
||||
}
|
||||
|
||||
public function close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue