Start logging only after set number of iterations