aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2023-09-04 20:25:34 +0100
committerGravatar Joe Banks <[email protected]>2023-09-04 20:25:34 +0100
commitba15697887464c4a8eb8265667d806e437659e74 (patch)
treea382142b0ba398e714f09a073e0bb34ad699d2da
parentAdd configuration option to log all queries (diff)
Remove old GINO logger config
-rw-r--r--metricity/__init__.py4
1 files changed, 0 insertions, 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())