Re: Incredible Logging
Patrik Rådman <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <[email protected]> |
Eric Wick <[email protected]> wrote: > > Are there something changed in the logging to sn-0.3.4a? The docs told > me to use a command like > > su news -c "/usr/local/sbin/snget -p3 -c4 2>&1 > >/var/log/news/snget.log" & What docs did you read that in? I can't find it... The line looks fine to me, and should work in bash. > This line although a "snget -d" log all things to the stdout but not > to the logfile. The commandline from actual snget told me to use "-o" > for an outfile. These cause an error Not surprising, since there is no -o option anymore. :) Seems that Harold forgot to update that usage-line. (The man page is correct, though.) Patch below... - Patrik --- snget.c~ Sun Oct 7 03:16:17 2001 +++ snget.c Sun Jan 6 17:45:08 2002 @@ -31,8 +31,8 @@ void usage (void) { - fail(1, "Usage:%s [-h Bps] [-t timeout] " - "[-p concurrency] [-c pipelinedepth] [[-r] -o file]", progname); + fail(1, "Usage:%s [-h Bps] " + "[-p concurrency] [-c pipelinedepth] [-m max]", progname); } int main(int argc, char **argv) -- Patrik Rådman · patrik at iki dot fi · http://www.iki.fi/patrik/ "We're not in the past or the present anymore. This is the future!"