Refactor logging statements to use f-strings for improved readability and consistency across the codebase. This change enhances the clarity of log messages by directly embedding variable values, making it easier to trace and debug application behavior.

This commit is contained in:
Richie committed 2026-07-24 11:38:51 -04:00
1 parent 5210f00587
commit 8f1a69529c
23 files changed
+142 -368

No files matched your search

@@ -393,7 +393,7 @@ async def index_chunk_phrase_mentions_for_book(
for chunk in chunks:
count += await index_chunk_phrase_mentions(session, chunk, lookup=active_lookup)
await session.flush()
logger.info("ebook_chunk_phrase_mentions_indexed book_id=%s mentions=%s", book_id, count)
logger.info(f"ebook_chunk_phrase_mentions_indexed {book_id=} {count=}")
return count