rest-adaptor: add debug logs