write curl_httpclient logs to a separate logger