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

Christian Theune ct at gocept.com
Tue Aug 31 04:19:01 EDT 2010


On 08/30/2010 03:01 PM, Adam GROSZER wrote:
> Hello,
>
> 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

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development



More information about the Zope-Dev mailing list