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

2010-08-31 Thread Christian Theune
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 · c...@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

___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


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

2010-08-30 Thread Adam GROSZER
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?
  
-- 
Best regards,
 Adam GROSZER  mailto:agros...@gmail.com
--
Quote of the day:
Love is a matter of chemistry, but Sex is a matter of physics.






















___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


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

2010-08-30 Thread Marius Gedminas
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


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


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

2010-08-30 Thread Stephan Richter
On Monday, August 30, 2010, Adam GROSZER wrote:
 Anyone objects a change to copy_to_zlog=True as default?

+1

Regards,
Stephan
-- 
Entrepreneur and Software Geek
Google me. Zope Stephan Richter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


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

2010-08-30 Thread Brian Sutherland
On Mon, Aug 30, 2010 at 03:01:24PM +0200, 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

-- 
Brian Sutherland
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )