From ec43ce8e3e96a6d6aa8a761ddc5c1d6ea08352f4 Mon Sep 17 00:00:00 2001 From: Andy Roxby <107427605+aroxby-wayscript@users.noreply.github.com> Date: Tue, 3 Jan 2023 13:35:55 -0500 Subject: [PATCH] Use default access logging Call the super class access logger instead of approximating it's behavior. This gives us immediate benefits, such as honoring `accesslog` config values. --- geventwebsocket/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geventwebsocket/handler.py b/geventwebsocket/handler.py index 92040b6..99bc567 100644 --- a/geventwebsocket/handler.py +++ b/geventwebsocket/handler.py @@ -252,7 +252,7 @@ def logger(self): def log_request(self): if '101' not in str(self.status): - self.logger.info(self.format_request()) + super().log_request() @property def active_client(self):