[Zodb-checkins] CVS: ZODB3/zLOG/tests - testzLog.py:1.9.42.1
Fred L. Drake, Jr.
fred@zope.com
Tue, 17 Dec 2002 14:32:41 -0500
Update of /cvs-repository/ZODB3/zLOG/tests
In directory cvs.zope.org:/tmp/cvs-serv6789/tests
Modified Files:
Tag: ZODB3-fast-restart-branch
testzLog.py
Log Message:
Backport the logging package integration from the Zope 2 trunk.
=== ZODB3/zLOG/tests/testzLog.py 1.9 => 1.9.42.1 ===
--- ZODB3/zLOG/tests/testzLog.py:1.9 Fri Aug 16 16:31:33 2002
+++ ZODB3/zLOG/tests/testzLog.py Tue Dec 17 14:32:41 2002
@@ -8,7 +8,7 @@
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE
+# FOR A PARTICULAR PURPOSE.
#
##############################################################################
@@ -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")