Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Maybe I'm missing something obvious, but looking at my IIS log files, I can deduce which folder contains logs for which site, because I am familiar with the sites.

However, I can't see anything that tells me that a particular site will send logs to (for example) W3SVC4.

In IIS 6, the log folder path is shown at the bottom of the logging properties UI, but not in IIS 7 as far as I can see.

If I had a lot of sites on the server, this could be harder to tell.

Is there a setting I can check?

share|improve this question

migrated from stackoverflow.com Aug 5 '11 at 9:28

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 4 down vote accepted

In IIS manager open the feature pane for your site and double click on the Logging feature:

enter image description here

You'll get this dialogue:

enter image description here

The logging path is highlighted in the red box. The default path will be:

%SystemDrive%\inetpub\logs\LogFiles\W3SVCxxxxxx

Where W3SVCxxxxxx is created automatically based on the IIS number or ID of the site.

share|improve this answer
    
+1 / and you can find the site's ID "Advanced Settings" (in the "Actions" panel on the right in IIS Manager) –  splattne Aug 5 '11 at 11:21
    
Thanks for the comment as it is this I'd that I'm interested in –  grx Aug 18 '11 at 6:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.