Solved

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

Posted on 2008-10-04
6
25,079 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
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.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
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 …

919 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

19 Experts available now in Live!

Get 1:1 Help Now