mirror of
https://github.com/ceph/ceph
synced 2025-01-11 13:41:02 +00:00
Silence connection pool logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
This commit is contained in:
parent
ef9638a26a
commit
4fed92c039
@ -5,6 +5,10 @@ monkey.patch_all()
|
||||
|
||||
import logging
|
||||
|
||||
# We don't need to see log entries for each connection opened
|
||||
logging.getLogger('requests.packages.urllib3.connectionpool').setLevel(
|
||||
logging.WARN)
|
||||
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format='%(asctime)s.%(msecs)03d %(levelname)s:%(name)s:%(message)s')
|
||||
|
Loading…
Reference in New Issue
Block a user