forked from Hay1tsme/artemis
diva: fix ip logging
This commit is contained in:
parent
2ec1dcadef
commit
dd1c7667e0
@ -111,7 +111,7 @@ class DivaServlet(BaseServlet):
|
||||
|
||||
self.logger.debug(f"Request: {url_data}\nHeaders: {url_header}")
|
||||
self.logger.info(
|
||||
f"{req_cls.cmd} request from {req_cls.kc_serial}/{req_cls.b_serial} at {req.getClientAddress().host}"
|
||||
f"{req_cls.cmd} request from {req_cls.kc_serial}/{req_cls.b_serial} at {Utils.get_ip_addr(request)}"
|
||||
)
|
||||
|
||||
handler_str = f"handle_{req_cls.cmd}_request"
|
||||
|
Loading…
Reference in New Issue
Block a user