cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: STDERR and CURLOPT_VERBOSE

From: O'Loughlin, Anthony (MED US) <anthony.oloughlin_at_siemens.com>
Date: Wed, 2 Apr 2008 10:33:46 -0400

Actually I'd like to pipe the messages to a file...

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Michal Marek
Sent: Wednesday, April 02, 2008 9:42 AM
To: libcurl development
Subject: Re: STDERR and CURLOPT_VERBOSE

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

----------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions
and are intended only for the addressee(s).
The information contained herein may include trade secrets or privileged or
otherwise confidential information. Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful. If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to Central.SecurityOffice_at_siemens.com

Thank you
Received on 2008-04-02