mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-14 08:29:45 +08:00
Silence one really noisy logger from python-requests.
This commit is contained in:
16
fedmsg.d/logging.py
Normal file
16
fedmsg.d/logging.py
Normal 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"],
|
||||
},
|
||||
),
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user