Commit 98a6f51b authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: By default silence test server logging

parent 98ce2644
......@@ -468,6 +468,12 @@ class TestHandler(BaseHTTPRequestHandler):
identification = None
configuration = {}
def log_message(self, *args):
if os.environ.get('SLAPOS_TEST_DEBUG'):
return BaseHTTPRequestHandler.log_message(self, *args)
else:
return
def do_DELETE(self):
config = self.configuration.pop(self.path, None)
if config is 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