adding log checker