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>
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):