remove HTTP logging as it confuses users

might be worth to log it to a file, if we ever need to debug it
This commit is contained in:
Fabian Dill 2020-06-10 19:10:11 +02:00
parent aa0d9fa7fc
commit cd3c2f3c84
1 changed files with 9 additions and 1 deletions

View File

@ -119,7 +119,15 @@ class WaitingForUiException(Exception):
webthread = None
PORT = 5050
Handler = partial(http.server.SimpleHTTPRequestHandler,
class RequestHandler(http.server.SimpleHTTPRequestHandler):
def log_request(self, code='-', size='-'):
pass
def log_message(self, format, *args):
pass
def log_date_time_string(self):
pass
Handler = partial(RequestHandler,
directory=Utils.local_path(os.path.join("data", "web", "public")))