Disable HttpServer log messages.

This commit is contained in:
tecnovert 2022-10-26 17:54:44 +02:00
parent f210024e93
commit 515e6655e8
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,3 @@
name = "basicswap"
__version__ = "0.11.43"
__version__ = "0.11.44"

View File

@ -90,6 +90,13 @@ def listExplorerActions(swap_client):
class HttpHandler(BaseHTTPRequestHandler):
def log_error(self, format, *args):
super().log_message(format, *args)
def log_message(self, format, *args):
# TODO: Add debug flag to re-enable.
pass
def generate_form_id(self):
return os.urandom(8).hex()