adding logging output when making REST call