cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: infof debug

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 18 Mar 2004 08:03:23 +0100 (CET)

On Wed, 17 Mar 2004, Xiuping Hu wrote:

> How I can active the debug using infof? I can not seem to find where open
> the file?

infof() sends data to stderr by default (CURLOPT_STDERR can change that), and
you make it do that by setting CURLOPT_VERBOSE to non-zero.

For even greater control and more data, try CURLOPT_DEBUGFUNCTION.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-03-18