log checking