def disable_warnings(category=exceptions.HTTPWarning):
    warnings.simplefilter('ignore', category)
When we pass --stdout all logs must be pointed to stdout.
dataset/ETHPy150Open BergWerkGIS/QGIS-CKAN-Browser/CKAN-Browser/request/packages/urllib3/__init__.py/disable_warnings--crossover with--dataset/ETHPy150Open daltonmatos/wsgid/tests/unit/cli_test.py/CliTest.test_create_log_for_stdout