[Zope-Coders] Re: CVS: ZODB3/zLOG - datatypes.py:1.10.16.2 EventLogger.py:1.8.6.2

Chris McDonough chrism at zope.com
Thu Sep 18 10:42:46 EDT 2003


Yup, thanks.  We're trying to resolve this now.

On Thu, 2003-09-18 at 10:38, Christian Heimes wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jeremy Hylton wrote:
> | -
> | -    def getLowestHandlerLevel(self):
> | -        """ Return the lowest log level provided by any of our handlers
> | -        (used by Zope startup logger code to decide what to send
> | -        to stderr during startup) """
> | -        lowest = self.level
> | -        for factory in self.handler_factories:
> | -            handler_level = factory.getLevel()
> | -            if handler_level < lowest:
> | -                lowest = factory.getLevel()
> | -        return lowest
> 
> Ups, this change screwed up the startup of zope. :(
> 
> Traceback (most recent call last):
> ~  File "/usr/lib/zope/2.7-branch/lib/python/Zope/Startup/run.py", line
> 27, in ?
> ~    run()
> ~  File "/usr/lib/zope/2.7-branch/lib/python/Zope/Startup/run.py", line
> 24, in run
> ~    start_zope(opts.configroot)
> ~  File "/usr/lib/zope/2.7-branch/lib/python/Zope/Startup/__init__.py",
> line 41, in start_zope
> ~    starter.setupStartupHandler()
> ~  File "/usr/lib/zope/2.7-branch/lib/python/Zope/Startup/__init__.py",
> line 112, in setupStartupHandler
> ~    level = self.cfg.eventlog.getLowestHandlerLevel()
> AttributeError: EventLogFactory instance has no attribute
> 'getLowestHandlerLevel'
> 
> Zope: Zope-2_7-branch CVS
> Python: 2.2.3
> 
> Christian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1-nr1 (Windows 2000)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE/acNX9aLWrfOU0PgRAmdqAJ475O7ECFCkj4qCjs8fybrRiX04aQCdGqQT
> Jk9FgxXNuqlgTmuXhqemJEA=
> =2rwc
> -----END PGP SIGNATURE-----
> 
> 
> 
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders at zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders
-- 
Chris McDonough <chrism at zope.com>
Zope Corporation




More information about the Zope-Coders mailing list