[Zope-dev] zope.app.appsetup and RootErrorReportingUtility

Marius Gedminas marius at gedmin.as
Mon Aug 30 09:10:22 EDT 2010


On Mon, Aug 30, 2010 at 03:01:24PM +0200, Adam GROSZER wrote:
> zope.app.appsetup installs the following RootErrorReportingUtility:
> 
>     ensureUtility(root_folder, IErrorReportingUtility, '',
>                   RootErrorReportingUtility, copy_to_zlog=False)  
> 
> My problem with this is that copy_to_zlog=False, that means if your
> app is *really* hosed you don't get the error logged to the usual
> error.log or event.log and are also *unable* to access the UI of the
> utility.
> 
> Anyone objects a change to "copy_to_zlog=True" as default?

+1 for copy_to_zlog=True by default.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20100830/84066913/attachment.bin 


More information about the Zope-Dev mailing list