mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-19 00:54:35 +00:00
Disable HttpServer log messages.
This commit is contained in:
parent
f210024e93
commit
515e6655e8
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
name = "basicswap"
|
name = "basicswap"
|
||||||
|
|
||||||
__version__ = "0.11.43"
|
__version__ = "0.11.44"
|
||||||
|
|
|
@ -90,6 +90,13 @@ def listExplorerActions(swap_client):
|
||||||
|
|
||||||
class HttpHandler(BaseHTTPRequestHandler):
|
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):
|
def generate_form_id(self):
|
||||||
return os.urandom(8).hex()
|
return os.urandom(8).hex()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue