Solved

Why Multiple Log directories in IIS?

Posted on 2004-04-01
2
4,407 Views
Last Modified: 2012-08-13
All of my servers log the web traffic to W3SVC1, but 1 of them logs to W3SVC2....  Why does this happen and how do I change it to log to 1 like the rest...
0
Comment
Question by:atebit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10737068
There is a new directory for each website, it's to group the log files, as you can get a new log each week (depending on your settings), or it could be a new one each month. I recommend keeping them all seperate in a directory of their own.

If you do want to change it, you right click the website in question, click properties, on the website tab on the bottom you will see a button called "Properties" click this and this is where you will be able to define where to store the log file for that website, and when to roll the log file over.
0
 
LVL 37

Accepted Solution

by:
meverest earned 250 total points
ID: 10737107
>> All of my servers log the web traffic to W3SVC1, but 1 of them logs to W3SVC2

I doubt that this statement is entiurely true.  you can only control the path to which IIS creates additional folders for the log files.

for example if you set iis to put logs files in: c:\logs, then when you run iis and then open c:\logs, you will see more folders in there: c:\logs\w3svc1\, c:\logs\w3svc2\, c:\logs\w3svc3\, etc

w3svc1 will contain the logs for the default web site.  w3svc2 will contain logs for the first other web site you created, w3svc3 for the next, and so on.

if you only see W3SVC1 and W3SVC2, then i say to you that either:

1) there are no other web servers, 2) they are writing their logs to some other location, or 3) they are not set to write logs at all.

check the log settings for each of the web sites in the internet service manager and see where they are going and if they are even logging activity at all.

cheers.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question