changes since master was updated
@@ -592,6 +592,15 @@ class HttpTransport(Invoker):
if not request._cache.get('is_websocket'):
status_code = response.status if response is not None else 500
+ try:
+ ignore_logging = handler.ignore_logging
+ except Exception:
+ ignore_logging = False
+ if ignore_logging is True:
+ pass
+ elif isinstance(ignore_logging, (list, tuple)) and status_code in ignore_logging:
+ pass
+ else:
logging.getLogger('transport.http').info('[{}] [{}] {} {} "{} {}{}{}" {} {} "{}" {}'.format(
RequestHandler.colorize_status('http', status_code),
RequestHandler.colorize_status(status_code),
