Added log-loop leave log