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

Nicolas 'Bix' Vanderstock nicvds at gmail.com
Thu Oct 12 07:51:28 PDT 2006


Greetings all,

While with some experience in web servers, I am new to the IIS
universe. I am trying to get Analog 6.0 to analyze an IIS6 server's
logs at work. I haven't configured this server myself (win2K3 server
w/ IIS 6).

This is where the logs can be found :
C:\Windows\system32\LogFiles\W3SVC*

I am using a wildcard because actually there are 6 directories, and
all of them are being upgraded in a daily basis.
I thus need to read the logs within each of the directories whose name
begin with "W3SVC"

The simplest solution would be to have something like

LOGFILE C:\Windows\System32\LogFiles\W3SVC1\*.log
LOGFILE C:\Windows\System32\LogFiles\W3SVC153253035\*.log
etc.

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...

I have thought about another solution; taking the parent directory :
LOGFILE C:\Windows\System32\LogFiles\

... but this doesnt work, plus, there are *other* directories in
\LogFiles, which I cannot make Analog to search into, as they contain
logs for other applications.

So what could I do to browse all W3SVC* directories with Analog ?

Thanks for any answer you could provide

Bix
Brussels
Belgium

P.S. : sorry if this question has been asked before, I haven't figured
out a way to search the archives or something ...


More information about the analog-help mailing list