squeaky-pl / japronto

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

respect Application(log_request=False) attribute #176

Open homm opened 4 years ago

homm commented 4 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)