summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/utils.py
blob: eb27a57e4a7ee4aa9dfe0baa01477fd299aebfe7 (plain)
1
2
3
4
5
6
7
8
9
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]))