Discussion:
Windows 2008 Server IIs Logs
(too old to reply)
mazdotnet
2009-02-24 17:55:04 UTC
Permalink
Hi,

I'm currently running our company website on IIS7 (Windows 2008
Server). My question is, how can you setup 2 sites to write logs to
the same folder if needed. We have www.site.com and www2.site.com.
IIS logs files by the site id,

%SystemDrive%\inetpub\logs\LogFiles

with IIS6 you can just point to C:\inetpub\logs\LogFiles\W3SVC2 on
both sites and it would write all your logs there. But I'm guessing
with IIS7 if I point it to C:\inetpub\logs\LogFiles\W3SVC2 it would
create a subfolder W3SVC1 within W3SVC2 which is not what I want.

Thanks
Maz.
Anders Bengtsson [MVP]
2009-02-24 18:04:24 UTC
Permalink
Hello mazdotnet,

This seems to be a IIS/Server question. This is a news group for Operations
Manager. Try post your question in a IIS or Server 2008 news group. Thanks

Anders Bengtsson
Microsoft MVP - System Center Operations Manager
www.contoso.se
Post by mazdotnet
Hi,
I'm currently running our company website on IIS7 (Windows 2008
Server). My question is, how can you setup 2 sites to write logs to
the same folder if needed. We have www.site.com and www2.site.com. IIS
logs files by the site id,
%SystemDrive%\inetpub\logs\LogFiles
with IIS6 you can just point to C:\inetpub\logs\LogFiles\W3SVC2 on
both sites and it would write all your logs there. But I'm guessing
with IIS7 if I point it to C:\inetpub\logs\LogFiles\W3SVC2 it would
create a subfolder W3SVC1 within W3SVC2 which is not what I want.
Thanks
Maz
Loading...