From ba15697887464c4a8eb8265667d806e437659e74 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 4 Sep 2023 20:25:34 +0100 Subject: Remove old GINO logger config --- metricity/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/metricity/__init__.py b/metricity/__init__.py index df7d211..e5d4e4d 100644 --- a/metricity/__init__.py +++ b/metricity/__init__.py @@ -22,10 +22,6 @@ coloredlogs.install(level=PythonConfig.log_level) # Set Discord.py log level logging.getLogger("discord.client").setLevel(PythonConfig.discord_log_level) -# Gino has an obnoxiously loud log for all queries executed, not great when inserting -# tens of thousands of users, so we can disable that (it's just a SQLAlchemy logger) -logging.getLogger("gino.engine._SAEngine").setLevel(logging.WARNING) - # On Windows, the selector event loop is required for aiodns. if os.name == "nt": asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) -- cgit v1.2.3