Skip to content

Commit

Permalink
reduce transaction log level of aiokafka transport (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
joekohlsdorf authored Feb 18, 2021
1 parent 466dbf2 commit 0ef8771
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions faust/transport/drivers/aiokafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ async def commit_transaction(self, transactional_id: str) -> None:
transaction_producer = self._transaction_producers.get(transactional_id)
if transaction_producer:
await transaction_producer.commit_transaction()
logger.info(f"Done committing transaction {transactional_id}")
logger.debug(f"Done committing transaction {transactional_id}")
else:
logger.warning(
f"Commit invoked for unknown transaction {transactional_id}"
Expand Down Expand Up @@ -1183,11 +1183,11 @@ async def commit_transactions(
offsets, group_id
)
await transaction_producer.commit_transaction()
logger.info(f"Done committing transaction {transactional_id}")
logger.debug(f"Done committing transaction {transactional_id}")
if start_new_transaction:
logger.info(f"Starting transaction {transactional_id}")
logger.debug(f"Starting transaction {transactional_id}")
await transaction_producer.begin_transaction()
logger.info(f"Started transaction {transactional_id}")
logger.debug(f"Started transaction {transactional_id}")

else:
logger.warning(
Expand Down

0 comments on commit 0ef8771

Please sign in to comment.