Log each iteration