From 3132121e90768d1fa56afdcb10c776a9fc4124a7 Mon Sep 17 00:00:00 2001 From: Mysty <29671945+EvieePy@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:08:38 +1000 Subject: [PATCH] Remove access logging from Starlette Plus --- server/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/application.py b/server/application.py index f43374f..f5edbcc 100644 --- a/server/application.py +++ b/server/application.py @@ -34,7 +34,7 @@ def __init__(self, *, bot: Bot) -> None: self.bot: Bot = bot self.__auth: str | None = CONFIG["TOKENS"].get("pythonista") - super().__init__() + super().__init__(access_log=False) @starlette_plus.route("/dpy/modlog", methods=["POST"], prefix=False, include_in_schema=False) async def dpy_modlog(self, request: starlette_plus.Request) -> starlette_plus.Response: