Updated log checking code