added comments

added comments to log checker