Adding logging to Curl Client