[Zodb-checkins] CVS: Zope/lib/python/zLOG/tests - testzLog.py:1.12
Chris McDonough
chrism@zope.com
Sun, 24 Nov 2002 00:24:43 -0500
Update of /cvs-repository/Zope/lib/python/zLOG/tests
In directory cvs.zope.org:/tmp/cvs-serv18617/tests
Modified Files:
testzLog.py
Log Message:
Use PEP282-based logger instead of homegrown.
=== Zope/lib/python/zLOG/tests/testzLog.py 1.11 => 1.12 ===
--- Zope/lib/python/zLOG/tests/testzLog.py:1.11 Fri Nov 22 13:17:39 2002
+++ Zope/lib/python/zLOG/tests/testzLog.py Sun Nov 24 00:24:43 2002
@@ -63,7 +63,7 @@
if severity:
os.environ['%s_LOG_SEVERITY' % self.prefix] = str(severity)
self._severity = severity
- zLOG.MinimalLogger._log.initialize()
+ zLOG.initialize()
def verifyEntry(self, f, time=None, subsys=None, severity=None,
summary=None, detail=None, error=None):
@@ -110,7 +110,6 @@
def checkBasics(self):
self.setLog()
zLOG.LOG("basic", zLOG.INFO, "summary")
-
f = self.getLogFile()
self.verifyEntry(f, subsys="basic", summary="summary")