IIS 6.0 W3C Extended Log File Format Configuration

IIS 6.0 W3C Extended Log File Format Configuration

am 29.10.2007 15:51:01 von RobertLindholm

Hello:

I'm using a single instance of IIS 6.0 to host several application oriented
web sites and would like to configure each web site with it's own directory
for logging.

While I have been able to create separate logging directories, which I
assume IIS will properly forward the respective logs for each web site onto
the appropriate directory [provided I configure each web sites logging
properties correctly], I would also like to be able to adjust the "default"
file namimg convention from "w3SVC1\exyymmddhh.log" to just "exyymmddhh.log"
as this creates an apparently unnecessary sub-directory.

Is this possible and if so how is this accomplished?

Thanks,

Bob
--
Robert Lindholm
University of Rochester

Re: IIS 6.0 W3C Extended Log File Format Configuration

am 29.10.2007 18:39:20 von Kristofer Gafvert

Hi,

As far as i know, this is not possible. I cannot find any metabase
property that could change this behavior.


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Robert Lindholm wrote:

>Hello:
>
>I'm using a single instance of IIS 6.0 to host several application oriented
>web sites and would like to configure each web site with it's own directory
>for logging.
>
>While I have been able to create separate logging directories, which I
>assume IIS will properly forward the respective logs for each web site onto
>the appropriate directory [provided I configure each web sites logging
>properties correctly], I would also like to be able to adjust the "default"
>file namimg convention from "w3SVC1\exyymmddhh.log" to just
>"exyymmddhh.log"
>as this creates an apparently unnecessary sub-directory.
>
>Is this possible and if so how is this accomplished?
>
>Thanks,
>
>Bob

Re: IIS 6.0 W3C Extended Log File Format Configuration

am 30.10.2007 01:42:34 von Steve Schofield

I don't see a metabase property or a registry entry to do what you are
asking.

Here are global registry entries for IIS 6.
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/60a90c91-a8d0-43b6-89db-a431d0ea0cb4.mspx?mfr =true

You could replace the logging module in IIS 7 and perform what you need.
You would need to write the HTTP module or native module.

--

Steve Schofield
Windows Server MVP - IIS
http://weblogs.asp.net/steveschofield


"Robert Lindholm" wrote in
message news:E8F668B7-EB5E-4376-B733-6E9A6CE61DC7@microsoft.com...
> Hello:
>
> I'm using a single instance of IIS 6.0 to host several application
> oriented
> web sites and would like to configure each web site with it's own
> directory
> for logging.
>
> While I have been able to create separate logging directories, which I
> assume IIS will properly forward the respective logs for each web site
> onto
> the appropriate directory [provided I configure each web sites logging
> properties correctly], I would also like to be able to adjust the
> "default"
> file namimg convention from "w3SVC1\exyymmddhh.log" to just
> "exyymmddhh.log"
> as this creates an apparently unnecessary sub-directory.
>
> Is this possible and if so how is this accomplished?
>
> Thanks,
>
> Bob
> --
> Robert Lindholm
> University of Rochester