[analog-help] IIS6 W3SVC* directories and LOGFILE variable

Nicolas 'Bix' Vanderstock nicvds at gmail.com
Fri Oct 13 01:02:20 PDT 2006


(sorry for the spam, I had wrong Subject in my first reply)

Hi and many thanks for your answer; I didn't know about adsutil.vbs

However, the output it gives me, has this form :
[/W3SVC/1]
[/W3SVC/1326478654]
[/W3SVC/2]
etc.

I could program and make another script run, in order to sort out the
"real" directory names (and output them e.g. in a textfile) but ...
once I get that correct list, how am I supposed to put it into Analog
config file ?

I have read the /docs/logfile.html file in the documentation, and I
don't see how I can configure the LOGFILE variable like I need then.

I should have something like :
LOGFILE %go_read_that_variable_in_the_file_list.txt%

where list.txt content (created with another script, from the adsutil
output) would be :
C:\Windows\system32\LogFiles\W3SVC1\ex*.log,
C:\Windows\system32\LogFiles\W3SVC1326478654\ex*.log,
C:\Windows\system32\LogFiles\W3SVC2\ex*.log,
etc.

I am getting closer but still lack some good idea (or understanding ;) )

Nicolas Vds.



> Date: Thu, 12 Oct 2006 11:25:18 -0400
> From: "Aengus" <analog at eircom.net>
> Subject: Re: [analog-help] IIS6 W3SVC* directories and LOGFILE
>         variable
> To: "Support for analog web log analyzer" <analog-help at lists.meer.net>
> Message-ID: <005501c6ee12$a02acf60$6400a8c0 at xppro>
> Content-Type: text/plain; format=flowed; charset=iso-8859-1;
>         reply-type=response
>
> On Thursday, October 12, 2006 10:51 AM [EDT],
> Nicolas 'Bix' Vanderstock <nicvds at gmail.com> wrote:
>
> > Problem is, I learned that those directory names are randomly
> > generated by IIS, so I cannot define them one by one or I'd have to
> > check my analog config file everyday to see if every directory is
> > properly defined...
>
> The directories are named when the Virtual server is created - they don't
> change every day.
>
> You can use the ADSUTIL.VBS to get a list of the virtual directories
> created - something like:
>
> cscript.exe adsutil.vbs ENUM /P W3SVC
>
> Aengus
>
>
>
> ------------------------------
>
> +------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |    http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> +------------------------------------------------------------------------
>
>
> End of analog-help Digest, Vol 26, Issue 5
> ******************************************
>


More information about the analog-help mailing list