Solved

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

Posted on 2008-10-04
6
25,622 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
  • 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

790 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