

def log_exception(self, typ, value, tb):
    'Override to customize logging of uncaught exceptions.\n\n        By default logs instances of `HTTPError` as warnings without\n        stack traces (on the ``tornado.general`` logger), and all\n        other exceptions as errors with stack traces (on the\n        ``tornado.application`` logger).\n\n        .. versionadded:: 3.1\n        '
    if isinstance(value, HTTPError):
        if value.log_message:
            format = ('%d %s: ' + value.log_message)
            args = ([value.status_code, self._request_summary()] + list(value.args))
            gen_log.warning(typ, *args)
    else:
        app_log.error('Uncaught exception %s\n%r', self._request_summary(), self.request, exc_info=(typ, value, tb))

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py RequestHandler.log_exception/VarMisuse@72/204 `format`->`typ`