curl-users
How to Log Error Message From
From: Mahesh Ramamurthy <mahesh31_at_gmail.com>
Date: Tue, 9 Jan 2007 16:43:25 -0500
Date: Tue, 9 Jan 2007 16:43:25 -0500
Hi All,
I have curl set up and using it in a perl script and things are working
fine. What I would like to know is if we can log the error messages given
out by CURL.
For ex when I give an invalid URL this error message is printed to the
screen.
curl: (56) Received HTTP code 502 from proxy after CONNECT.
I would like to know if I can capture this and write to a log file.
Thanks in advance.
Mahesh
-- Dream as if you'll live forever. Live as if you'll die today.Received on 2007-01-09