Re: zope.app.appsetup and RootErrorReportingUtility

Christian Theune <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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 · [email protected]
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.