async_retrying
async_retrying copied to clipboard
add a params to close logging
I dont want to get logging massage, could you add a params like log=False to close logger.warning msg。
if log: logger.warning( exc.__class__.__name__ + ' -> Attempts (%(attempt)d) are over for %(fn)r', # noqa context, exc_info=exc,
`if log:
logger.warning(
exc.__class__.__name__ + ' -> Attempts (%(attempt)d) are over for %(fn)r', # noqa
context,
exc_info=exc,
)`
what about to setup logging config and set logging.LEVEL for async_retrying to logging.ERROR?
Yeah! That is great!
what about to setup logging config and set logging.LEVEL for async_retrying to logging.ERROR?
Yeah! That is great!