- #http_server = WSGIServer((self.ip, self.port), self.app)
- #http_server.serve_forever()
+ #self.app.logger.setLevel(logging.ERROR)
+ self.http_server = WSGIServer((self.ip, self.port),
+ self.app,
+ log=open("/dev/null", "w") # This disables HTTP request logs to not mess up the CLI when e.g. the auto-updated dashboard is used
+ )
+ self.http_server.serve_forever()