http-app: prevent httplib3 logs to spawn our rhodecode logs.
- it often happens that there are odd logs, and it confuses people looking at those.
This commit is contained in:
parent
5c1b93fc48
commit
58fe679096
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,10 @@ session = requests.Session()
|
|||
# Requests speedup, avoid reading .netrc and similar
|
||||
session.trust_env = False
|
||||
|
||||
# prevent urllib3 spawning our logs.
|
||||
logging.getLogger("requests.packages.urllib3.connectionpool").setLevel(
|
||||
logging.WARNING)
|
||||
|
||||
|
||||
class VcsHttpProxy(object):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue