Added logging to RestHttp.