checking connection log statement