From: Volker Theile Date: Thu, 2 Apr 2020 14:01:53 +0000 (+0200) Subject: mgr/dashboard: Add more debug information to Dashboard RGW backend X-Git-Tag: v16.1.0~2709^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F34377%2Fhead;p=ceph.git mgr/dashboard: Add more debug information to Dashboard RGW backend Fixes: https://tracker.ceph.com/issues/44914 Signed-off-by: Volker Theile --- diff --git a/src/pybind/mgr/dashboard/services/rgw_client.py b/src/pybind/mgr/dashboard/services/rgw_client.py index 78d8623ef4896..587ba2d4a2cc1 100644 --- a/src/pybind/mgr/dashboard/services/rgw_client.py +++ b/src/pybind/mgr/dashboard/services/rgw_client.py @@ -332,7 +332,8 @@ class RgwClient(RestClient): # If user ID is not set, then try to get it via the RGW Admin Ops API. self.userid = userid if userid else self._get_user_id(self.admin_path) # type: str - logger.info("Created new connection for user: %s", self.userid) + logger.info("Created new connection: user=%s, host=%s, port=%s, ssl=%d, sslverify=%d", + self.userid, host, port, ssl, ssl_verify) @RestClient.api_get('/', resp_structure='[0] > (ID & DisplayName)') def is_service_online(self, request=None):