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
aec6c454
Commit
aec6c454
authored
Aug 29, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In _log() pass the str() of the real storage not the ZEOStorage.
parent
3366502b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+2
-2
No files found.
src/ZEO/StorageServer.py
View file @
aec6c454
...
...
@@ -141,9 +141,9 @@ class ZEOStorage:
return
"<%s %X trans=%s s_trans=%s>"
%
(
name
,
id
(
self
),
tid
,
stid
)
def
_log
(
self
,
msg
,
level
=
zLOG
.
INFO
,
error
=
None
,
pid
=
os
.
getpid
()):
name
=
getattr
(
self
,
'__name__'
,
None
)
name
=
getattr
(
self
.
__storage
,
'__name__'
,
None
)
if
name
is
None
:
name
=
str
(
self
)
name
=
str
(
self
.
__storage
)
zLOG
.
LOG
(
"ZEO Server:%s:%s"
%
(
pid
,
name
),
level
,
msg
,
error
=
error
)
def
setup_delegation
(
self
):
...
...
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