Skip to content

Commit 99b04a5

Browse files
committed
Add heartbeat thread id to debug logs on start
1 parent b1d2d2c commit 99b04a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kafka/coordinator/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ def _start_heartbeat_thread(self):
764764
self._heartbeat_thread = HeartbeatThread(weakref.proxy(self))
765765
self._heartbeat_thread.daemon = True
766766
self._heartbeat_thread.start()
767+
log.debug("Started heartbeat thread %s", self._heartbeat_thread.ident)
767768

768769
def _disable_heartbeat_thread(self):
769770
with self._lock:

0 commit comments

Comments
 (0)