Rolled back looping log check that didn't work well.