cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Debugging problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 6 Dec 2007 12:08:22 +0100 (CET)

On Wed, 5 Dec 2007, Michael Hecker wrote:

(Please don't hijack threads by replying to something else and change subject,
start a new thread with a new mail.)

> I want to write all the data curl normally prints into the console in a
> variable to parse it later on.
> I need all the data like (Connecting ... leaving Connection intact. Reusing
> Connection and so on)
>
> How can I do that?

CURLOPT_DEBUGFUNCTION is your friend.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-12-06