[Zodb-checkins] CVS: ZODB/src/ZODB/FileStorage - FileStorage.py:1.14
Tim Peters
tim.one at comcast.net
Thu Apr 22 22:34:08 EDT 2004
Update of /cvs-repository/ZODB/src/ZODB/FileStorage
In directory cvs.zope.org:/tmp/cvs-serv472/src/ZODB/FileStorage
Modified Files:
FileStorage.py
Log Message:
Fixed new NameError in check10Kstores introduced by zLoG->logging
conversion (this is an --all test, so the original committer probably
didn't run it).
Introduced a trivial new module (loglevels.py) to centralize creating
the custom log levels ZODB/ZEO want to use.
=== ZODB/src/ZODB/FileStorage/FileStorage.py 1.13 => 1.14 ===
--- ZODB/src/ZODB/FileStorage/FileStorage.py:1.13 Thu Apr 22 17:27:44 2004
+++ ZODB/src/ZODB/FileStorage/FileStorage.py Thu Apr 22 22:33:59 2004
@@ -40,6 +40,7 @@
from ZODB.FileStorage.format \
import FileStorageFormatter, DataHeader, TxnHeader, DATA_HDR, \
DATA_HDR_LEN, TRANS_HDR, TRANS_HDR_LEN, CorruptedDataError
+from ZODB.loglevels import BLATHER
try:
from ZODB.fsIndex import fsIndex
@@ -50,10 +51,6 @@
t32 = 1L << 32
packed_version = "FS21"
-
-# XXX this isn't really needed, right?
-CUSTOM_BLATHER = 15
-logging.addLevelName("BLATHER", CUSTOM_BLATHER)
logger = logging.getLogger('zodb.FileStorage')
More information about the Zodb-checkins
mailing list