[Zope3-checkins] CVS: Zope3/src/zope/app/process - bootstrap.py:1.6

Godefroid Chapelle gotcha at swing.be
Tue Aug 12 18:28:00 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/process
In directory cvs.zope.org:/tmp/cvs-serv4565

Modified Files:
	bootstrap.py 
Log Message:
- registered global error reporting service

- it shared its log with root folder error reporting service
so that global errors can be viewed over there



=== Zope3/src/zope/app/process/bootstrap.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.5	Fri Jul 11 03:16:55 2003
+++ Zope3/src/zope/app/process/bootstrap.py	Tue Aug 12 17:27:55 2003
@@ -34,7 +34,7 @@
 from zope.app.services.service import ServiceRegistration
 from zope.app.services.hub import ObjectHub, Registration
 from zope.app.services.event import EventService
-from zope.app.services.error import ErrorReportingService
+from zope.app.services.error import RootErrorReportingService
 from zope.app.services.principalannotation import PrincipalAnnotationService
 from zope.app.services.interface import LocalInterfaceService
 from zope.proxy import removeAllProxies
@@ -155,7 +155,7 @@
 
         # Sundry other services
         self.ensureService(ErrorLogging,
-                           ErrorReportingService, copy_to_zlog=True)
+                           RootErrorReportingService, copy_to_zlog=True)
         self.ensureService(PrincipalAnnotation, PrincipalAnnotationService)
 
 bootstrapInstance = BootstrapInstance()




More information about the Zope3-Checkins mailing list