Re: zope.app.appsetup and RootErrorReportingUtility

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20100830131022.GA24680@platonas>
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

_______________________________________________
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 )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkx7rb4ACgkQkVdEXeem148/+gCfQ5yhyGH6evucg4AHMh0VI6pP
QI0AniHRu5mwiG9wBmV0nSQe+cWJ97sW
=YdZ8
-----END PGP SIGNATURE-----
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.