We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d83033 commit 03220cbCopy full SHA for 03220cb
src/Stream/FileStream.php
@@ -38,7 +38,7 @@ public function __construct($logsDir, Formatter $formatter)
38
*/
39
public function write($measurement, array $data)
40
{
41
- $fp = fopen($this->getFilePath(), 'a+b');
+ $fp = fopen($this->getFilePath(), 'ab');
42
fwrite($fp, $this->getFormatter()->format($measurement, $data) . PHP_EOL);
43
fclose($fp);
44
@chmod($this->getFilePath(), 0664);
0 commit comments