From 91ee67019e0eb89290e599b2283f1f421718b796 Mon Sep 17 00:00:00 2001 From: Sylvain Bauza Date: Tue, 2 May 2023 15:51:28 +0000 Subject: Revert "Debug Nova APIs call failures" This reverts commit afb0f774841d30dcae9c074d524e7fa9be840678. Reason for revert: We unfortunately leak the token in the logs which is considered a security flaw, even if only provided on DEBUG level. Change-Id: I52b52e65b689dadbdb08122c94652c491f850de6 Closes-Bug: #2012993 (cherry picked from commit 6833695e70bba31b84a0a19301657bc59ae1710b) (cherry picked from commit a02f96687350ad74d9921406a525ee991bbe8882) --- nova/api/openstack/wsgi.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py index 1d17ce1c9f..e64b4a2016 100644 --- a/nova/api/openstack/wsgi.py +++ b/nova/api/openstack/wsgi.py @@ -538,12 +538,6 @@ class Resource(wsgi.Application): with ResourceExceptionHandler(): action_result = self.dispatch(meth, request, action_args) except Fault as ex: - LOG.debug(f'Request method failure captured:\n' - f' request: {request}\n' - f' method: {meth}\n' - f' exception: {ex}\n' - f' action_args: {action_args}\n', - exc_info=1) response = ex if not response: -- cgit v1.2.1