From e758fec8135ed157a01223d5d7c0f884e158f08c Mon Sep 17 00:00:00 2001 From: Mysty <29671945+EvieePy@users.noreply.github.com> Date: Tue, 7 Jan 2025 04:58:59 +1000 Subject: [PATCH] Remove access logging from Starlette Plus (#72) --- server/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/application.py b/server/application.py index be32924..088b7f2 100644 --- a/server/application.py +++ b/server/application.py @@ -35,7 +35,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: