?
Solved

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

Posted on 2008-10-04
6
Medium Priority
?
26,708 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 2000 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

765 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