curl-library
Re: Curl Logging Support
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 4 Mar 2006 23:26:01 +0100 (CET)
Date: Sat, 4 Mar 2006 23:26:01 +0100 (CET)
On Fri, 3 Mar 2006, Nilesh wrote:
> CURLOPT_VERBOSE - set to true and
> CURLOPT_STDERR - set to FILE * which is my required logfilename.
>
> When I run application, it doesn't seem to log any messages( log file
> remains empty), but those messages appear ( with chars '<' and '>') on
> screen (stderr) where I run the application.
>
> Anything I am missing to get it working ?
I don't know, I believe that is the way it is supposed to work. A work-around,
and a more complete "logging", would be to use the CURLOPT_DEBUGFUNCTION.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-03-04