[Owncloud] Interception of PHP errors

Victor Dubiniuk victor.dubiniuk at gmail.com
Wed Sep 12 19:54:28 UTC 2012


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.
As it's too late for new features I've pushed it to the separate branch. [1]
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.

Is it OK to store such reports in the /owncloud.err directory under the

P.S. there is no function to obtain datadir location directly yet. That's
awful ;)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120912/78806128/attachment.html>

More information about the Owncloud mailing list