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
nexedi
ZODB
Commits
d95df89d
Commit
d95df89d
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
25625878
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
16 deletions
+16
-16
src/ZODB/BaseStorage.py
src/ZODB/BaseStorage.py
+2
-2
src/ZODB/ConflictResolution.py
src/ZODB/ConflictResolution.py
+1
-1
src/ZODB/Connection.py
src/ZODB/Connection.py
+2
-2
src/ZODB/DB.py
src/ZODB/DB.py
+2
-2
src/ZODB/ExportImport.py
src/ZODB/ExportImport.py
+1
-1
src/ZODB/FileStorage/FileStorage.py
src/ZODB/FileStorage/FileStorage.py
+2
-2
src/ZODB/FileStorage/format.py
src/ZODB/FileStorage/format.py
+1
-1
src/ZODB/Mount.py
src/ZODB/Mount.py
+3
-3
src/ZODB/serialize.py
src/ZODB/serialize.py
+1
-1
src/ZODB/zodb4/z4format.py
src/ZODB/zodb4/z4format.py
+1
-1
No files found.
src/ZODB/BaseStorage.py
View file @
d95df89d
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""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
threading
...
...
@@ -27,7 +27,7 @@ from persistent.TimeStamp import TimeStamp
from
ZODB
import
POSException
,
utils
from
ZODB.UndoLogCompatible
import
UndoLogCompatible
log
=
logging
.
getLogger
(
"
zodb
.BaseStorage"
)
log
=
logging
.
getLogger
(
"
ZODB
.BaseStorage"
)
class
BaseStorage
(
UndoLogCompatible
):
"""Abstract base class that support storage implementations.
...
...
src/ZODB/ConflictResolution.py
View file @
d95df89d
...
...
@@ -20,7 +20,7 @@ from pickle import PicklingError
from
ZODB.POSException
import
ConflictError
from
ZODB.loglevels
import
BLATHER
logger
=
logging
.
getLogger
(
'
zodb
.ConflictResolution'
)
logger
=
logging
.
getLogger
(
'
ZODB
.ConflictResolution'
)
ResolvedSerial
=
'rs'
...
...
src/ZODB/Connection.py
View file @
d95df89d
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""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
sys
...
...
@@ -172,7 +172,7 @@ class Connection(ExportImport, object):
register for afterCompletion() calls.
"""
self
.
_log
=
logging
.
getLogger
(
"
zodb.con
n"
)
self
.
_log
=
logging
.
getLogger
(
"
ZODB.Connectio
n"
)
self
.
_storage
=
None
self
.
_debug_info
=
()
...
...
src/ZODB/DB.py
View file @
d95df89d
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""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
from
thread
import
allocate_lock
...
...
@@ -27,7 +27,7 @@ from ZODB.serialize import referencesf
import
transaction
logger
=
logging
.
getLogger
(
'
zodb.db
'
)
logger
=
logging
.
getLogger
(
'
ZODB.DB
'
)
class
DB
(
object
):
"""The Object Database
...
...
src/ZODB/ExportImport.py
View file @
d95df89d
...
...
@@ -23,7 +23,7 @@ from ZODB.utils import p64, u64
from
ZODB.serialize
import
referencesf
import
sys
logger
=
logging
.
getLogger
(
'
zodb
.ExportImport'
)
logger
=
logging
.
getLogger
(
'
ZODB
.ExportImport'
)
class
ExportImport
:
...
...
src/ZODB/FileStorage/FileStorage.py
View file @
d95df89d
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Storage implementation using a log written to a single file.
$Revision: 1.1
5
$
$Revision: 1.1
6
$
"""
import
base64
...
...
@@ -52,7 +52,7 @@ t32 = 1L << 32
packed_version
=
"FS21"
logger
=
logging
.
getLogger
(
'
zodb
.FileStorage'
)
logger
=
logging
.
getLogger
(
'
ZODB
.FileStorage'
)
def
panic
(
message
,
*
data
):
...
...
src/ZODB/FileStorage/format.py
View file @
d95df89d
...
...
@@ -160,7 +160,7 @@ DATA_VERSION_HDR_LEN = 58
assert
struct
.
calcsize
(
TRANS_HDR
)
==
TRANS_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
):
"""Mixin class that can read and write the low-level format."""
...
...
src/ZODB/Mount.py
View file @
d95df89d
...
...
@@ -13,8 +13,8 @@
##############################################################################
"""Mounted database support
$Id: Mount.py,v 1.2
4 2004/04/22 21:27:43
gintautasm Exp $"""
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
$Id: Mount.py,v 1.2
5 2004/04/23 17:26:37
gintautasm Exp $"""
__version__
=
'$Revision: 1.2
5
$'
[
11
:
-
2
]
import
string
import
time
...
...
@@ -26,7 +26,7 @@ import Acquisition
from
Acquisition
import
aq_base
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
# threading issues. It maps connection params to a DB object
...
...
src/ZODB/serialize.py
View file @
d95df89d
...
...
@@ -392,7 +392,7 @@ class BaseObjectReader:
unpickler
.
load
()
# skip the class metadata
return
unpickler
.
load
()
except
EOFError
,
msg
:
log
=
logging
.
getLogger
(
"
zodb
.serialize"
)
log
=
logging
.
getLogger
(
"
ZODB
.serialize"
)
log
.
exception
(
"Unpickling error: %r"
,
pickle
)
raise
...
...
src/ZODB/zodb4/z4format.py
View file @
d95df89d
...
...
@@ -142,7 +142,7 @@ DATA_VERSION_HDR_LEN = 62
assert
struct
.
calcsize
(
TRANS_HDR
)
==
TRANS_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
):
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