Add logging for stream closing and raft log rotation.