diff --git a/src/app/code/community/FireGento/Logger/Model/JsonStream.php b/src/app/code/community/FireGento/Logger/Model/JsonStream.php index adcbb5f5..e316e99f 100644 --- a/src/app/code/community/FireGento/Logger/Model/JsonStream.php +++ b/src/app/code/community/FireGento/Logger/Model/JsonStream.php @@ -76,7 +76,7 @@ protected function _write($event) $eventData = array_filter($eventData, function ($var) { return $var !== null; }); $line = @json_encode($eventData); - if (false === @fwrite($this->_stream, $line)) { + if (false === @fwrite($this->_stream, $line . PHP_EOL)) { //require_once 'Zend/Log/Exception.php'; throw new Zend_Log_Exception("Unable to write to stream"); }