log checker to files