@@ -956,20 +956,20 @@ def _run_once(self):
956956                # the session timeout has expired without seeing a 
957957                # successful heartbeat, so we should probably make sure 
958958                # the coordinator is still healthy. 
959-                 log .debug ('Heartbeat session expired, marking coordinator dead' )
959+                 log .warning ('Heartbeat session expired, marking coordinator dead' )
960960                self .coordinator .coordinator_dead ('Heartbeat session expired' )
961961
962962            elif  self .coordinator .heartbeat .poll_timeout_expired ():
963963                # the poll timeout has expired, which means that the 
964964                # foreground thread has stalled in between calls to 
965965                # poll(), so we explicitly leave the group. 
966-                 log .debug ('Heartbeat poll expired, leaving group' )
966+                 log .warning ('Heartbeat poll expired, leaving group' )
967967                self .coordinator .maybe_leave_group ()
968968
969969            elif  not  self .coordinator .heartbeat .should_heartbeat ():
970970                # poll again after waiting for the retry backoff in case 
971971                # the heartbeat failed or the coordinator disconnected 
972-                 log .debug ( 'Not ready to heartbeat, waiting' )
972+                 log .log ( 0 ,  'Not ready to heartbeat, waiting' )
973973                self .coordinator ._lock .wait (self .coordinator .config ['retry_backoff_ms' ] /  1000 )
974974
975975            else :
0 commit comments