| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
RE: curl.exe: append logs on the output-file?
From: Christoph Brunner <news_chbr0001_at_yahoo.de>
Date: Thu, 28 Mar 2002 13:22:24 +0100
I didn't want to use the '>>' to log into the logfile.
And it works ;-)
int my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream)
*********** REPLY SEPARATOR ***********
On 28.03.2002 at 06:29 Roth, Kevin P. wrote:
What you really need is this:
curl.exe URL 2>&1 >> logfile.txt
or, if the 2>&1 doesn't work for some reason:
curl.exe --stderr - URL >> logfile.txt
leave off the --output altogether...
If, on the other hand, you actually want separate message and error files, then try something like this:
curl.exe URL >> logfile.txt 2>> errors.txt
--Kevin
-----Original Message-----
Thinking about it, I figure --stderr should actually always append. Anyone
src/main.c line 1096 should be modified so that the fopen() uses an "a"
_________________________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info