[cleanup] Misc (#8510)
Authored by: bashonly, coletdjnz, dirkf, gamer191, seproDev, Grub4K
This commit is contained in:
parent
f04b5bedad
commit
b012271d01
8 changed files with 33 additions and 21 deletions
|
|
@ -255,7 +255,8 @@ class RequestsRH(RequestHandler, InstanceStoreMixin):
|
|||
handler.setFormatter(logging.Formatter('requests: %(message)s'))
|
||||
handler.addFilter(Urllib3LoggingFilter())
|
||||
logger.addHandler(handler)
|
||||
logger.setLevel(logging.WARNING)
|
||||
# TODO: Use a logger filter to suppress pool reuse warning instead
|
||||
logger.setLevel(logging.ERROR)
|
||||
|
||||
if self.verbose:
|
||||
# Setting this globally is not ideal, but is easier than hacking with urllib3.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue