sao: add response debug logging

This commit is contained in:
Hay1tsme 2023-07-05 12:35:00 -04:00
parent d60f827000
commit 1edec7dba2

View File

@ -112,4 +112,6 @@ class SaoServlet(resource.Resource):
self.logger.info(f"Handler {req_url} - {sao_request[:4]} request") self.logger.info(f"Handler {req_url} - {sao_request[:4]} request")
self.logger.debug(f"Request: {request.content.getvalue().hex()}") self.logger.debug(f"Request: {request.content.getvalue().hex()}")
return handler(sao_request) resp = handler(sao_request)
self.logger.debug(f"Response: {resp.hex()}")
return resp