summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dague <sean@dague.net>2014-07-01 14:25:01 -0400
committerSean Dague <sean@dague.net>2014-07-01 20:31:20 -0400
commit3310d8d2d3643da2fc249fdcad8f5000866c4389 (patch)
treec98f71d4b77c9aafd24c08e4c1f7b08eddb17153
parent5c6851503d8baef14ccab1a38fd20d8e78ccba7f (diff)
downloadoslo-incubator-3310d8d2d3643da2fc249fdcad8f5000866c4389.tar.gz
update new requests logger to default WARN
The requests library changed the name of their logger, so now the terrible logging is back in all the projects. Set the new logger level to WARN as well as the old name. Change-Id: Ifbc22d097952cae4537fd97a96985bbb42c1b76c
-rw-r--r--openstack/common/log.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/common/log.py b/openstack/common/log.py
index 1b4c93f3..b7ee470d 100644
--- a/openstack/common/log.py
+++ b/openstack/common/log.py
@@ -165,7 +165,8 @@ log_opts = [
'suds=INFO',
'oslo.messaging=INFO',
'iso8601=WARN',
- 'requests.packages.urllib3.connectionpool=WARN'
+ 'requests.packages.urllib3.connectionpool=WARN',
+ 'urllib3.connectionpool=WARN'
],
help='List of logger=LEVEL pairs.'),
cfg.BoolOpt('publish_errors',