mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-02-08 01:37:38 +00:00
Отключение логирования (чтобы не забивать вывод)
This commit is contained in:
parent
d3a25ee190
commit
dfd5d61db7
@ -11,6 +11,9 @@ from icecream import ic
|
|||||||
ic.disable() # Выключить отладку
|
ic.disable() # Выключить отладку
|
||||||
|
|
||||||
class Proxy(http.server.SimpleHTTPRequestHandler):
|
class Proxy(http.server.SimpleHTTPRequestHandler):
|
||||||
|
# Отключение всех сообщений (чтобы не забивать вывод)
|
||||||
|
def log_message(self, format, *args):
|
||||||
|
pass
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
ic(f"Request for: {self.path}")
|
ic(f"Request for: {self.path}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user