AMBARI-5384. Add logging to base URL checking (ncole)