diff --git a/tcp_tests/managers/reclass_manager.py b/tcp_tests/managers/reclass_manager.py
index 7e6243a..3952b5f 100644
--- a/tcp_tests/managers/reclass_manager.py
+++ b/tcp_tests/managers/reclass_manager.py
@@ -84,7 +84,7 @@
         :param file_name: name of YAML file to find a key
         :return: str, key if found
         """
-        LOG.info("Try to get '{key}' key from '{file}' file".format(
+        LOG.debug("Try to get '{key}' key from '{file}' file".format(
             file=file_name,
             key=key
             ))
@@ -95,11 +95,11 @@
                    key=key,
                    file_name=file_name))['stdout']
 
-        LOG.info("Raw output from reclass.get_key {}".format(request_key))
+        LOG.debug("Raw output from reclass.get_key {}".format(request_key))
         encoded_request_key = ''.join(request_key).encode(encoding='UTF-8')
-        key = yaml.load(encoded_request_key)
-        LOG.info("From reclass.get_key {}".format(key))
-        return key
+        value = yaml.load(encoded_request_key)
+        LOG.info("From reclass.get_key {}: {}".format(key, value))
+        return value
 
     def add_bool_key(self, key, value, short_path):
         """
