cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl.exe: append logs on the output-file?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Mar 2002 11:35:36 +0100 (MET)

On Thu, 28 Mar 2002, Christoph Brunner wrote:

> I use the --stderr and the --output options to log the information to
> files. That works pretty good! But for each call of the curl.exe the
> program create a new file and the older information is overwrited.
>
> It is possible to append the new logs?

Ah, I forgot. You could possibly do something like this, I don't really know
exactly how silly a windows command prompt is:

  $ curl --stderr - --output file [URL] >> logfile

This makes the stderr text go to stdout instead, and then we append stdout to
a given file.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-28