Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
d4a4a766
Commit
d4a4a766
authored
Jul 09, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow control over server debug logging via an environment variable
parent
ab158e86
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/ZEO/tests/forker.py
src/ZEO/tests/forker.py
+3
-1
No files found.
src/ZEO/tests/forker.py
View file @
d4a4a766
...
@@ -30,6 +30,8 @@ from ZEO._compat import StringIO
...
@@ -30,6 +30,8 @@ from ZEO._compat import StringIO
logger
=
logging
.
getLogger
(
'ZEO.tests.forker'
)
logger
=
logging
.
getLogger
(
'ZEO.tests.forker'
)
DEBUG
=
os
.
environ
.
get
(
'ZEO_TEST_SERVER_DEBUG'
)
class
ZEOConfig
:
class
ZEOConfig
:
"""Class to generate ZEO configuration file. """
"""Class to generate ZEO configuration file. """
...
@@ -88,7 +90,7 @@ def runner(config, qin, qout, timeout=None,
...
@@ -88,7 +90,7 @@ def runner(config, qin, qout, timeout=None,
debug
=
False
,
name
=
None
,
debug
=
False
,
name
=
None
,
keep
=
False
,
protocol
=
None
):
keep
=
False
,
protocol
=
None
):
if
debug
:
if
debug
or
DEBUG
:
debug_logging
()
debug_logging
()
old_protocol
=
None
old_protocol
=
None
...
...
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