diff options
author | Tim Bielawa <timbielawa@gmail.com> | 2016-09-29 10:47:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 10:47:21 -0700 |
commit | eff53a327e95a11149c67aa83da2a1ca181da2cc (patch) | |
tree | 5f05167d6d7c866cd7a78dd6457505ae829ac4a4 /utils/src/ooinstall/utils.py | |
parent | 762df1e3808d06a6c0c608af8830d6a882a70bf6 (diff) | |
parent | b03d8cf25077cb824f1afca0ecd7d1b8edcc028d (diff) | |
download | openshift-eff53a327e95a11149c67aa83da2a1ca181da2cc.tar.gz openshift-eff53a327e95a11149c67aa83da2a1ca181da2cc.tar.bz2 openshift-eff53a327e95a11149c67aa83da2a1ca181da2cc.tar.xz openshift-eff53a327e95a11149c67aa83da2a1ca181da2cc.zip |
Merge pull request #2483 from tbielawa/GH2445-Installer-Output
atomic-openshift-install should only output relevant information
Diffstat (limited to 'utils/src/ooinstall/utils.py')
-rw-r--r-- | utils/src/ooinstall/utils.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/src/ooinstall/utils.py b/utils/src/ooinstall/utils.py new file mode 100644 index 000000000..eb27a57e4 --- /dev/null +++ b/utils/src/ooinstall/utils.py @@ -0,0 +1,10 @@ +import logging + +installer_log = logging.getLogger('installer') + + +def debug_env(env): + for k in sorted(env.keys()): + if k.startswith("OPENSHIFT") or k.startswith("ANSIBLE") or k.startswith("OO"): + installer_log.debug("{key}: {value}".format( + key=k, value=env[k])) |