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 <ablu@mail.uni-paderborn.de>
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 @@
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):