<div>Hi,</div><div><br></div><div>Are there any objections for merging this into master? </div><div>We can have it disabled by default. </div><div>I'm planning to implement more-developer-friendly log in future and  it looks sane to have all PHP notices and warnings in the single place.</div>
<div><a href="https://github.com/owncloud/core/commits/extended_log">https://github.com/owncloud/core/commits/extended_log</a></div><div><br></div><div>---</div><div>Victor</div><br><div class="gmail_quote">On Wed, Sep 12, 2012 at 10:54 PM, Victor Dubiniuk <span dir="ltr"><<a href="mailto:victor.dubiniuk@gmail.com" target="_blank">victor.dubiniuk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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" target="_blank">https://github.com/owncloud/core/commit/bbf8bb0bb3f33c92933dfd499b571f56edda4a59</a></div><div><br></div><div>
---</div><div>Victor</div>
</blockquote></div><br>