From 834bf2dc5dc1dc0e230aa52a28ff38e9908e4c37 Mon Sep 17 00:00:00 2001 From: nir0s Date: Thu, 1 Sep 2016 16:19:12 +0300 Subject: [PATCH] CFY-5906 reduce logging level of fabric env init to debug --- fabric_plugin/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric_plugin/tasks.py b/fabric_plugin/tasks.py index aa61304..23224b1 100644 --- a/fabric_plugin/tasks.py +++ b/fabric_plugin/tasks.py @@ -503,7 +503,7 @@ def host_string(self): def _fabric_env(fabric_env, warn_only): """Prepares fabric environment variables configuration""" - ctx.logger.info('Preparing fabric environment...') + ctx.logger.debug('Preparing fabric environment...') fabric_env = fabric_env or {} credentials = CredentialsHandler(ctx, fabric_env) final_env = {} @@ -533,7 +533,7 @@ def _fabric_env(fabric_env, warn_only): raise exceptions.NonRecoverableError( 'Access credentials not supplied ' '(you must supply at least one of key_filename/key or password)') - ctx.logger.info('Environment prepared successfully') + ctx.logger.debug('Environment prepared successfully') return final_env