From 8d1a57165d2df770ad7618d1321cb8cba0409547 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 May 2024 15:00:54 -0400 Subject: [PATCH] fix(aurora): added debug logging --- aurora/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aurora/models.py b/aurora/models.py index e857e5f..07c73e6 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -106,7 +106,7 @@ class Moderation(AuroraGuildModel): )) cursor.close() - logger.info("Updated moderation case %s in guild %s with the following data:\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s", + logger.info("Row updated in moderation_%s!\n%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s", self.moderation_id, self.guild_id, self.timestamp.timestamp(), @@ -277,6 +277,7 @@ class Change(AuroraBaseModel): @classmethod def from_dict(cls, bot: Red, data: dict) -> "Change": + logger.debug("Creating Change from dict: %s", data) if "duration" in data and data["duration"] and not isinstance(data["duration"], timedelta): hours, minutes, seconds = map(int, data["duration"].split(':')) duration = timedelta(hours=hours, minutes=minutes, seconds=seconds)