Try running analog with -setting to have it tell you what it is and is
not including. There might be one you are missing.
analog G +g/home/stuartl/analog/depts/depts_dir.cfg \
+C"LOCALCHARTDIR >> /home/stuartl/depts/finehost/charts/%Y%M" \
+C"FILEINCLUDE /finehost/*" \
+O/home/stuartl/depts/finehost/report.html \
-settings
Of course, adding the +C"FILEEXCLUDE *" to the command line won't hurt
and guarantees the behavior you want.
--
Jeremy Wadsack
Wadsack-Allen Digital Group
Stuart Long <[EMAIL PROTECTED]> (Wednesday, February 04, 2004 1:39 PM):
> There is but it is commented out. Would I still need a FILEEXCLUDE * ?
> Thanks
> Stuart Long
> -=-=-=-=-=-
> Web Systems Engineer
> Clackamas Community College
> 503.657.6958 x2562
> [EMAIL PROTECTED]
> -----Original Message-----
> From: [EMAIL PROTECTED]
> Sent: Wednesday, February 04, 2004 1:33 PM
> To: <[EMAIL PROTECTED]>
> Subject: Re: [analog-help] Multiple subdirectories, multiple runs, one script
> Stuart Long <[EMAIL PROTECTED]> (Wednesday, February 04, 2004 1:12 PM):
> > There's probably an easy answer but I haven't been able to find it.
> > I have a virtual domain (with one log file) that has 30+ subdirectories
> each
>> containing a website. I want to analyze each subdirectory on its own.
>> Since I have to run once for each subdirectory I'm trying to setup a simple
>> shell script to call a generic config file and inject only the subdirectory,
>> outfile, and chart dir information through the command line. I cannot get
>> the FILEINCLUDE command to inject the subdirectory name, I keep getting
>> results for the whole virtual domain. The LOCALCHARTDIR command works using
>> the +C switch.
> > What am I missing or screwing up? Shell script below.
> > Thanks
> > #!/bin/bash
>> /home/stuartl/analog/dnstran /home/stuartl/logs/www2/W3SVC2/*.log
>> analog G +g/home/stuartl/analog/depts/depts_dir.cfg +C"LOCALCHARTDIR
>> /home/stuartl/depts/hr/charts/%Y%M" +C"FILEINCLUDE /hr/*"
>> +O/home/stuartl/depts/hr/report.html
>> analog G +g/home/stuartl/analog/depts/depts_dir.cfg +C"LOCALCHARTDIR
>> /home/stuartl/depts/finehost/charts/%Y%M" +C"FILEINCLUDE /finehost/*"
>> +O/home/stuartl/depts/finehost/report.html
> This looks right. Is there a FILEINCLUDE already in your depts_dir.cfg
> file? If so then you'll need a FILEXCLUDE * before the FILEINCLUDE
> statement on the command line.
> Jeremy Wadsack
> Wadsack Allen Digital Group
> +
> | TO UNSUBSCRIBE from this list:
> | http://lists.isite.net/listgate/analog help/unsubscribe.html
> |
> | Digest version: http://lists.isite.net/listgate/analog help digest/
> | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> | List archives: http://www.analog.cx/docs/mailing.html#listarchives
> +
> +------------------------------------------------------------------------
> | TO UNSUBSCRIBE from this list:
> | http://lists.isite.net/listgate/analog-help/unsubscribe.html
> |
> | Digest version: http://lists.isite.net/listgate/analog-help-digest/
> | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> | List archives: http://www.analog.cx/docs/mailing.html#listarchives
> +------------------------------------------------------------------------
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| Digest version: http://lists.isite.net/listgate/analog-help-digest/
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------