[Owncloud] Interception of PHP errors
Bart Visscher
bartv at thisnet.nl
Fri Oct 12 09:35:55 UTC 2012
On Thu, Oct 11, 2012 at 11:37:16PM +0300, Victor Dubiniuk wrote:
> Hi,
>
> Are there any objections for merging this into master?
> We can have it disabled by default.
> 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.
> https://github.com/owncloud/core/commits/extended_log
I think this is a good idea, merge it to master as is.
Bart
>
> ---
> Victor
>
> On Wed, Sep 12, 2012 at 10:54 PM, Victor Dubiniuk <victor.dubiniuk at gmail.com
> > wrote:
>
> > Hi,
> >
> > 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
> > datadir?
> >
> > P.S. there is no function to obtain datadir location directly yet. That's
> > awful ;)
> >
> > [1]
> > https://github.com/owncloud/core/commit/bbf8bb0bb3f33c92933dfd499b571f56edda4a59
> >
> > ---
> > Victor
> >
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list