Fix individual log file counter in program scheduler