Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
bf855047
Commit
bf855047
authored
Apr 23, 2004
by
Gintautas Miliauskas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed logger name prefixes from 'zodb' to 'ZODB'.
parent
4264ae40
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
16 deletions
+16
-16
trunk/src/ZODB/BaseStorage.py
trunk/src/ZODB/BaseStorage.py
+2
-2
trunk/src/ZODB/ConflictResolution.py
trunk/src/ZODB/ConflictResolution.py
+1
-1
trunk/src/ZODB/Connection.py
trunk/src/ZODB/Connection.py
+2
-2
trunk/src/ZODB/DB.py
trunk/src/ZODB/DB.py
+2
-2
trunk/src/ZODB/ExportImport.py
trunk/src/ZODB/ExportImport.py
+1
-1
trunk/src/ZODB/FileStorage/FileStorage.py
trunk/src/ZODB/FileStorage/FileStorage.py
+2
-2
trunk/src/ZODB/FileStorage/format.py
trunk/src/ZODB/FileStorage/format.py
+1
-1
trunk/src/ZODB/Mount.py
trunk/src/ZODB/Mount.py
+3
-3
trunk/src/ZODB/serialize.py
trunk/src/ZODB/serialize.py
+1
-1
trunk/src/ZODB/zodb4/z4format.py
trunk/src/ZODB/zodb4/z4format.py
+1
-1
No files found.
trunk/src/ZODB/BaseStorage.py
View file @
bf855047
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Handy standard storage machinery
"""Handy standard storage machinery
$Id: BaseStorage.py,v 1.
49 2004/04/19 21:19:05 tim_one
Exp $
$Id: BaseStorage.py,v 1.
50 2004/04/23 17:26:37 gintautasm
Exp $
"""
"""
import
cPickle
import
cPickle
import
threading
import
threading
...
@@ -27,7 +27,7 @@ from persistent.TimeStamp import TimeStamp
...
@@ -27,7 +27,7 @@ from persistent.TimeStamp import TimeStamp
from
ZODB
import
POSException
,
utils
from
ZODB
import
POSException
,
utils
from
ZODB.UndoLogCompatible
import
UndoLogCompatible
from
ZODB.UndoLogCompatible
import
UndoLogCompatible
log
=
logging
.
getLogger
(
"
zodb
.BaseStorage"
)
log
=
logging
.
getLogger
(
"
ZODB
.BaseStorage"
)
class
BaseStorage
(
UndoLogCompatible
):
class
BaseStorage
(
UndoLogCompatible
):
"""Abstract base class that support storage implementations.
"""Abstract base class that support storage implementations.
...
...
trunk/src/ZODB/ConflictResolution.py
View file @
bf855047
...
@@ -20,7 +20,7 @@ from pickle import PicklingError
...
@@ -20,7 +20,7 @@ from pickle import PicklingError
from
ZODB.POSException
import
ConflictError
from
ZODB.POSException
import
ConflictError
from
ZODB.loglevels
import
BLATHER
from
ZODB.loglevels
import
BLATHER
logger
=
logging
.
getLogger
(
'
zodb
.ConflictResolution'
)
logger
=
logging
.
getLogger
(
'
ZODB
.ConflictResolution'
)
ResolvedSerial
=
'rs'
ResolvedSerial
=
'rs'
...
...
trunk/src/ZODB/Connection.py
View file @
bf855047
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Database connection support
"""Database connection support
$Id: Connection.py,v 1.15
4 2004/04/19 20:24:02 tim_one
Exp $"""
$Id: Connection.py,v 1.15
5 2004/04/23 17:26:37 gintautasm
Exp $"""
import
logging
import
logging
import
sys
import
sys
...
@@ -172,7 +172,7 @@ class Connection(ExportImport, object):
...
@@ -172,7 +172,7 @@ class Connection(ExportImport, object):
register for afterCompletion() calls.
register for afterCompletion() calls.
"""
"""
self
.
_log
=
logging
.
getLogger
(
"
zodb.con
n"
)
self
.
_log
=
logging
.
getLogger
(
"
ZODB.Connectio
n"
)
self
.
_storage
=
None
self
.
_storage
=
None
self
.
_debug_info
=
()
self
.
_debug_info
=
()
...
...
trunk/src/ZODB/DB.py
View file @
bf855047
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Database objects
"""Database objects
$Id: DB.py,v 1.7
7 2004/04/19 21:19:05 tim_one
Exp $"""
$Id: DB.py,v 1.7
8 2004/04/23 17:26:37 gintautasm
Exp $"""
import
cPickle
,
cStringIO
,
sys
import
cPickle
,
cStringIO
,
sys
from
thread
import
allocate_lock
from
thread
import
allocate_lock
...
@@ -27,7 +27,7 @@ from ZODB.serialize import referencesf
...
@@ -27,7 +27,7 @@ from ZODB.serialize import referencesf
import
transaction
import
transaction
logger
=
logging
.
getLogger
(
'
zodb.db
'
)
logger
=
logging
.
getLogger
(
'
ZODB.DB
'
)
class
DB
(
object
):
class
DB
(
object
):
"""The Object Database
"""The Object Database
...
...
trunk/src/ZODB/ExportImport.py
View file @
bf855047
...
@@ -23,7 +23,7 @@ from ZODB.utils import p64, u64
...
@@ -23,7 +23,7 @@ from ZODB.utils import p64, u64
from
ZODB.serialize
import
referencesf
from
ZODB.serialize
import
referencesf
import
sys
import
sys
logger
=
logging
.
getLogger
(
'
zodb
.ExportImport'
)
logger
=
logging
.
getLogger
(
'
ZODB
.ExportImport'
)
class
ExportImport
:
class
ExportImport
:
...
...
trunk/src/ZODB/FileStorage/FileStorage.py
View file @
bf855047
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Storage implementation using a log written to a single file.
"""Storage implementation using a log written to a single file.
$Revision: 1.1
5
$
$Revision: 1.1
6
$
"""
"""
import
base64
import
base64
...
@@ -52,7 +52,7 @@ t32 = 1L << 32
...
@@ -52,7 +52,7 @@ t32 = 1L << 32
packed_version
=
"FS21"
packed_version
=
"FS21"
logger
=
logging
.
getLogger
(
'
zodb
.FileStorage'
)
logger
=
logging
.
getLogger
(
'
ZODB
.FileStorage'
)
def
panic
(
message
,
*
data
):
def
panic
(
message
,
*
data
):
...
...
trunk/src/ZODB/FileStorage/format.py
View file @
bf855047
...
@@ -160,7 +160,7 @@ DATA_VERSION_HDR_LEN = 58
...
@@ -160,7 +160,7 @@ DATA_VERSION_HDR_LEN = 58
assert
struct
.
calcsize
(
TRANS_HDR
)
==
TRANS_HDR_LEN
assert
struct
.
calcsize
(
TRANS_HDR
)
==
TRANS_HDR_LEN
assert
struct
.
calcsize
(
DATA_HDR
)
==
DATA_HDR_LEN
assert
struct
.
calcsize
(
DATA_HDR
)
==
DATA_HDR_LEN
logger
=
logging
.
getLogger
(
'
zodb
.FileStorage.format'
)
logger
=
logging
.
getLogger
(
'
ZODB
.FileStorage.format'
)
class
FileStorageFormatter
(
object
):
class
FileStorageFormatter
(
object
):
"""Mixin class that can read and write the low-level format."""
"""Mixin class that can read and write the low-level format."""
...
...
trunk/src/ZODB/Mount.py
View file @
bf855047
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
##############################################################################
##############################################################################
"""Mounted database support
"""Mounted database support
$Id: Mount.py,v 1.2
4 2004/04/22 21:27:43
gintautasm Exp $"""
$Id: Mount.py,v 1.2
5 2004/04/23 17:26:37
gintautasm Exp $"""
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
5
$'
[
11
:
-
2
]
import
string
import
string
import
time
import
time
...
@@ -26,7 +26,7 @@ import Acquisition
...
@@ -26,7 +26,7 @@ import Acquisition
from
Acquisition
import
aq_base
from
Acquisition
import
aq_base
from
POSException
import
MountedStorageError
from
POSException
import
MountedStorageError
logger
=
logging
.
getLogger
(
'
zodb
.Mount'
)
logger
=
logging
.
getLogger
(
'
ZODB
.Mount'
)
# dbs is a holder for all DB objects, needed to overcome
# dbs is a holder for all DB objects, needed to overcome
# threading issues. It maps connection params to a DB object
# threading issues. It maps connection params to a DB object
...
...
trunk/src/ZODB/serialize.py
View file @
bf855047
...
@@ -392,7 +392,7 @@ class BaseObjectReader:
...
@@ -392,7 +392,7 @@ class BaseObjectReader:
unpickler
.
load
()
# skip the class metadata
unpickler
.
load
()
# skip the class metadata
return
unpickler
.
load
()
return
unpickler
.
load
()
except
EOFError
,
msg
:
except
EOFError
,
msg
:
log
=
logging
.
getLogger
(
"
zodb
.serialize"
)
log
=
logging
.
getLogger
(
"
ZODB
.serialize"
)
log
.
exception
(
"Unpickling error: %r"
,
pickle
)
log
.
exception
(
"Unpickling error: %r"
,
pickle
)
raise
raise
...
...
trunk/src/ZODB/zodb4/z4format.py
View file @
bf855047
...
@@ -142,7 +142,7 @@ DATA_VERSION_HDR_LEN = 62
...
@@ -142,7 +142,7 @@ DATA_VERSION_HDR_LEN = 62
assert
struct
.
calcsize
(
TRANS_HDR
)
==
TRANS_HDR_LEN
assert
struct
.
calcsize
(
TRANS_HDR
)
==
TRANS_HDR_LEN
assert
struct
.
calcsize
(
DATA_HDR
)
==
DATA_HDR_LEN
assert
struct
.
calcsize
(
DATA_HDR
)
==
DATA_HDR_LEN
logger
=
logging
.
getLogger
(
"
zodb.storage.file
"
)
logger
=
logging
.
getLogger
(
"
ZODB.zodb4.z4format
"
)
def
panic
(
message
,
*
data
):
def
panic
(
message
,
*
data
):
logger
.
critical
(
message
,
*
data
)
logger
.
critical
(
message
,
*
data
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment