diff options
author | 2023-09-04 20:25:34 +0100 | |
---|---|---|
committer | 2023-09-04 20:25:34 +0100 | |
commit | ba15697887464c4a8eb8265667d806e437659e74 (patch) | |
tree | a382142b0ba398e714f09a073e0bb34ad699d2da | |
parent | Add configuration option to log all queries (diff) |
Remove old GINO logger config
-rw-r--r-- | metricity/__init__.py | 4 |
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()) |