curl-library
Re: STDERR and CURLOPT_VERBOSE
From: Michal Marek <mmarek_at_suse.cz>
Date: Wed, 02 Apr 2008 15:42:14 +0200
Date: Wed, 02 Apr 2008 15:42:14 +0200
O'Loughlin, Anthony (MED US) wrote:
> I'm developing any application using cURL to transfer files via FTP,
> SFTP, and FTPS. I have it working (pretty much) and I saw in the doc
> that it is recommended that you not use CURLOPT_VERBOSE in a production
> environment. However, we would like to capture the CURLOPT_VERBOSE
> information in some situations in production environments. Can you pipe
> the CURLOPT_VERBOSE output via STDERR?
If you're fine with printing those messages in production environment,
then there's no problem.
> Is there another way to get the
> CURLOPT_VERBOSE info?
CURLOPT_STDERR or CURLOPT_DEBUGFUNCTION, see the docs.
Michal
Received on 2008-04-02