summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/ooinstall/utils.py')
-rw-r--r--utils/src/ooinstall/utils.py10
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]))