From: garciadeblas Date: Fri, 21 Mar 2025 13:48:12 +0000 (+0100) Subject: Add debug logs for some missing functions X-Git-Tag: v18.0.0~10 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F15069%2F1;p=osm%2Fosmclient.git Add debug logs for some missing functions Change-Id: I4819fb2335ecb348f60859424bcb61a4accf254d Signed-off-by: garciadeblas --- diff --git a/osmclient/cli_commands/other.py b/osmclient/cli_commands/other.py index b51a868..d2ce70f 100755 --- a/osmclient/cli_commands/other.py +++ b/osmclient/cli_commands/other.py @@ -25,6 +25,7 @@ logger = logging.getLogger("osmclient") @click.pass_context def get_version(ctx): """shows client and server versions""" + logger.debug("") utils.check_client_version(ctx.obj, "version") print("Server version: {}".format(ctx.obj.get_version())) print( diff --git a/osmclient/sol005/http.py b/osmclient/sol005/http.py index 5b140f5..a506b37 100644 --- a/osmclient/sol005/http.py +++ b/osmclient/sol005/http.py @@ -264,6 +264,7 @@ class Http(http.Http): return http_code, None def check_http_response(self, http_code, data): + self._logger.debug("") if http_code >= 300: resp = "" if data: