From 2efa0c599b9b809ed925874d949926a4508c4036 Mon Sep 17 00:00:00 2001 From: schillinge Date: Wed, 13 Feb 2019 08:07:52 +0100 Subject: [PATCH] Do not spam the logs with server names at INFO level This logged two lines at INFO. I guess DEBUG and a single line suffices in this case. Change-Id: I88a04299571779066c6ca7a0bd8389ae3f40fe31 Signed-off-by: schillinge --- src/emuvim/api/openstack/compute.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emuvim/api/openstack/compute.py b/src/emuvim/api/openstack/compute.py index d7e944b..873daa4 100755 --- a/src/emuvim/api/openstack/compute.py +++ b/src/emuvim/api/openstack/compute.py @@ -587,11 +587,10 @@ class OpenstackCompute(object): This function provides a shorter name if needed """ if len(name) > char_limit: - LOG.info("Long server name: {}".format(name)) # construct a short name h = hashlib.sha224(name).hexdigest() h = h[0:char_limit] - LOG.info("Short server name: {}".format(h)) + LOG.debug("Shortened server name '%s' to '%s'" % (name, h)) return name def delete_server(self, server): -- 2.25.1