diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-17 14:25:15 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-17 14:25:15 +0100 |
commit | 82bb54e41ab0f8365ca5e1e6469860287d089a1c (patch) | |
tree | b8a38b226a078dd2341c6e20cd7baa38d159a4c5 /functest/opnfv_tests/vnf/router/cloudify_vrouter.py | |
parent | 09f5310e78445eaea4e6b7aff45979f5cb89f957 (diff) |
Decrease log levels when trying to connect
Only the last attempt should be printed in console.
Change-Id: Ic1ed5887195c98c64ade4558ac20ebd814e38bab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/vnf/router/cloudify_vrouter.py')
-rw-r--r-- | functest/opnfv_tests/vnf/router/cloudify_vrouter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py index e23bba119..6b9145855 100644 --- a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py +++ b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py @@ -263,10 +263,10 @@ class CloudifyVrouter(vrouter_base.VrouterOnBoardingBase): while str(cfy_status) != 'running' and retry: try: cfy_status = cfy_client.manager.get_status()['status'] - self.__logger.debug("The current manager status is %s", - cfy_status) + self.__logger.info( + "The current manager status is %s", cfy_status) except Exception: # pylint: disable=broad-except - self.__logger.exception( + self.__logger.info( "Cloudify Manager isn't up and running. Retrying ...") retry = retry - 1 time.sleep(30) |