zope.app.appsetup and RootErrorReportingUtility
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:agroszer@gmail.com -- Quote of the day: Love is a matter of chemistry, but Sex is a matter of physics.
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
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
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@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
participants (5)
-
Adam GROSZER -
Brian Sutherland -
Christian Theune -
Marius Gedminas -
Stephan Richter