From 5bec25fc234c9dac3086d6bcc6dc1d1e8ccffa80 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 29 Feb 2024 11:12:54 +0300 Subject: [PATCH] less-logs --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index a64116c3..53879bd2 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -79,7 +79,7 @@ async def get_author_by_user_id(user_id: str): if isinstance(res, str): author = json.loads(res) if author.get('id'): - logger.debug(f'got cached author: {author}') + logger.debug(f'got author @{author.slug} #{author.id} cached today') return author q = select(Author).filter(Author.user == user_id)