Silence one really noisy logger from python-requests.

This commit is contained in:
Ralph Bean
2016-10-27 15:41:14 -04:00
committed by Matt Prahl
parent 3a18e156ed
commit 2eb03ca32e

16
fedmsg.d/logging.py Normal file
View File

@@ -0,0 +1,16 @@
# Setup fedmsg logging.
# See the following for constraints on this format https://bit.ly/Xn1WDn
bare_format = "[%(asctime)s][%(name)10s %(levelname)7s] %(message)s"
config = dict(
logging=dict(
loggers=dict(
# Quiet this guy down...
requests={
"level": "WARNING",
"propagate": True,
"handlers": ["console"],
},
),
),
)