set logging interval.