John Anderson wrote:
> Jeremy,
>
> > > 2. Shouldn't it get pumped to /dev/null because of that 2>/dev/null?
> >
> > Apparently your CGI system is working aroung the redirections (ignoring them)
> > as you are, I assume, getting some output on your browser.
>
> True, the report is showing up in the browser. Is this a misconfiguration? If
> so where?
Perhaps, or maybe it's being 'smart'. You don't want those redirects anyway. 1>
should go to the browser and if there really are any errors, 2> will put them in
the logfile where you can see them.
> Yup, it's the first thing that prints. Here:
>
> [httpd@linux1 logs]$ /analog-4.04/analog -G -m -d +g/path/to/logs/analog.conf
> logfile /logs/archive/2000/06/access_log_20000615.tar.gz
> logs/archive/2000/06/access_log_20000615
>
BTW, 'logfile' is not a keyword. Analog is assuming here that 'logfile' is a valid
keyword that it can read.
Also, Analog can't unarchive a tar bundle. You really should gzip each logfile
individually. Or else do something like
tar -xzf /logs/archive/2000/06/access_log_20000615.tar.gz | /analog-4.04/analog
-G -m -d +g/path/to/logs/analog.conf -
> I'm doing something similar to this with an error logs displayer / parser and I
> need to untar-gzip those as well, and I am getting that same line in the
> error_log. Analog handles the UNCOMPRESS.
>
> I guess the question is how can I keep tar quiet.<grin>
Oh, you've got an UNCOMPRESS tar -xzf command or something, huh? That won't work,
because Analog expects the UNCOMPRESS command to give it 1 file on STDIN, not a
package of files in a directory. Go with the tar-xzf | analog, as above.
HTH,
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------