Solved

Why Multiple Log directories in IIS?

Posted on 2004-04-01
2
4,133 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now