def log_warn_only():
    coloredlogs.install(
        level='WARNING',
        level_styles={
            'warn': {
                'color': 'yellow'
            },
            'error': {
                'color': 'red',
                'bold': True,
            },
        },
        fmt='%(message)s',
        isatty=True
    )
Drop to warning level and down to get around gen.generate() log.info
dataset/ETHPy150Open dcos/dcos/ext/dcos-installer/dcos_installer/__init__.py/log_warn_only