squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.62k stars 580 forks source link

respect Application(log_request=False) attribute #176

Open homm opened 3 years ago

homm commented 3 years ago

Otherwise, the following code is required:

class Application(Application):
    @property
    def _log_request(self):
        return False

    @_log_request.setter
    def _log_request(self, value):
        pass

app = Application(log_request=False)