Solved

Is it ok to delete the IIS log files in C:\WINDOWS\system32\LogFiles\W3SVC1?

Posted on 2008-10-04
6
26,328 Views
Last Modified: 2012-05-05
Is it ok to delete IIS log files on  C:\WINDOWS\system32\LogFiles\W3SVC1?  I am using IIS 6.0 on a Windows 2003 server.
0
Comment
Question by:digraj
[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
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:hulent
ID: 22641008
Yes, it is OK.  I would recommend saving the log files in a zip folder for archiving but here is the link to Microsoft on how to do so:  http://support.microsoft.com/kb/240145
0
 
LVL 12

Accepted Solution

by:
Pugglewuggle earned 500 total points
ID: 22641816
Yes. It's perfectly fine to delete them. IIS will just create a new file. Unless you want to save the logs for future use, there's no reason to save them as mentioned above.
You can also delete the log files in every other folder that starts with W3SVC without any negative effects. IIS will create a folder for every site you create of have created in the past. Make sure you don't delete the folder though, just the files inside.
I'm sure your deleting these to recover disk space (logs can get BIG depending on settings!).
Cheers!
0
 

Author Comment

by:digraj
ID: 22641964
Pugglewuggle - do you konw if there is a setting in IIS that enables you to configure how many days to keep logs for?
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 1

Expert Comment

by:hulent
ID: 22642130
If you right-click on any of the websites and click properties it will take you to the Web sites tab.  On that tab, in the lower part it will have a button that says Properties.  Click that!  It should have everything you need there.
0
 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22642195
Unfortunately there is not in IIS 6.0. :(
Just clear them out every once in a while if you need to. :)
Cheers!
0
 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22642198
Yes, it does give you every way to configure logging - except for the time period to retain them. They must be deleted manually.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

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