Hi,<div><br></div><div>I've prepared a simple patch to log PHP errors with ownCloud logger since we had a couple of  sad stories titled 'Blank page and empty log' here.</div><div>As it's too late for new features I've pushed it to the separate branch. [1]</div>
<div>I consider logging a full backtrace for non-recoverable errors too. So the user will see a number of report on the ownCloud page and can check the content of the respective file for full details. </div><div><br></div>
<div>Is it OK to store such reports in the /owncloud.err directory under the datadir?</div><div><br></div><div>P.S. there is no function to obtain datadir location directly yet. That's awful ;)</div><div><br></div><div>
[1] <a href="https://github.com/owncloud/core/commit/bbf8bb0bb3f33c92933dfd499b571f56edda4a59">https://github.com/owncloud/core/commit/bbf8bb0bb3f33c92933dfd499b571f56edda4a59</a></div><div><br></div><div>---</div><div>Victor</div>