From 09471a40272e60a9c18bfcad02bd7c52c1248ab8 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 May 2024 16:39:13 -0400 Subject: [PATCH] misc(aurora): change the logging severity of Change.from_dict()'s logs to trace --- aurora/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/models.py b/aurora/models.py index f6ef0b9..f5f758b 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -360,10 +360,10 @@ class Change(AuroraBaseModel): @classmethod def from_dict(cls, bot: Red, data: dict) -> "Change": - logger.debug("Creating Change from dict (%s): %s", type(data), data) + logger.trace("Creating Change from dict (%s): %s", type(data), data) if isinstance(data, str): data = json.loads(data) - logger.debug("Change data was a string, converted to dict: %s", data) + logger.trace("Change data was a string, converted to 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)