aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/ci/run_tests.py
diff options
context:
space:
mode:
authorajay33 <mahajanajay33@gmail.com>2020-08-31 14:10:28 +0530
committerCédric Ollivier <cedric.ollivier@orange.com>2020-09-05 10:44:14 +0200
commitbbdc01c30dcf5a1365ad5a61ec0f7fee49b7fb59 (patch)
tree5432c8299638612360b0c5471a84f33c81e22fab /xtesting/ci/run_tests.py
parenta106be673624002b2c1fac35cc6e8278fcaa465d (diff)
Suppress admin password in default logs
Currently, OS_PASSWORD is getting printed in the console of Functest. This password is secret and must not be printed in default log file. This patch suppresses the logging of OS_PASSWORD unless users ask for debug logs. Signed-off-by: mahajanajay33@gmail.com Change-Id: Ib83a12eb09a8551b30b352858649932a5ca842e4
Diffstat (limited to 'xtesting/ci/run_tests.py')
-rw-r--r--xtesting/ci/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/ci/run_tests.py b/xtesting/ci/run_tests.py
index 0f43210c..f96bd885 100644
--- a/xtesting/ci/run_tests.py
+++ b/xtesting/ci/run_tests.py
@@ -110,7 +110,7 @@ class Runner():
value = re.sub(r'^["\' ]*|[ \'"]*$', '', "".join(var[1:]))
os.environ[key] = value
rcfd.seek(0, 0)
- LOGGER.info("Sourcing env file %s\n\n%s", rc_file, rcfd.read())
+ LOGGER.debug("Sourcing env file %s\n\n%s", rc_file, rcfd.read())
@staticmethod
def get_dict_by_test(testname):