add log for faraday. fix data types