Commit d4a4a766 authored by Jim Fulton's avatar Jim Fulton

Allow control over server debug logging via an environment variable

parent ab158e86
......@@ -30,6 +30,8 @@ from ZEO._compat import StringIO
logger = logging.getLogger('ZEO.tests.forker')
DEBUG = os.environ.get('ZEO_TEST_SERVER_DEBUG')
class ZEOConfig:
"""Class to generate ZEO configuration file. """
......@@ -88,7 +90,7 @@ def runner(config, qin, qout, timeout=None,
debug=False, name=None,
keep=False, protocol=None):
if debug:
if debug or DEBUG:
debug_logging()
old_protocol = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment