ZF-7522: Zend_Log_Writer_Stream opens files unnecessarily


When I use Zend_Log_Writer_Stream to write to file, the file is opened even though no data is actually written to the log. It would save unnecessary filesystem accesses if the file would be opened only in case something is actually written (e.g. on the first write).


Duplicate with ZF-5741