mazdotnet
2009-02-24 17:55:04 UTC
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.
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.