Solved

Why Multiple Log directories in IIS?

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 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