[Last Call] Learn how to a build a cloud-first strategyRegister Now


IIS Logs gettig huge

Posted on 2011-05-05
Medium Priority
Last Modified: 2012-06-21
My Small Business Server 2008 IIS LOG folder is getting very large (over 2.5 Gb). It seems to be impacting my MOSS SharePoint site.
How do I trim it down?
Is there a script that I can use to keep the size smaller?
There seems to be a file for each day in the past 31 days. Is it safe to delete old files?
How/Where do I set the number of days of files to keep?
Question by:LostInWindows
LVL 22

Accepted Solution

Larry Struckmeyer MVP earned 1000 total points
ID: 35697791
Well know issue with SBS... please review this post and let us know.
LVL 26

Expert Comment

by:Leon Fester
ID: 35699419
IIS creates a new log file for each day, so those files are probably there since you setup your IIS site.
You can control the amount of logging being done by selecting the specific items that needs to be logged.
However, as a rule I would normally recommend that unless you're using the log files for reporting or troubleshooting then you can safely turn off the logging.

Author Closing Comment

ID: 35699539
Thanks, the article helps significantly.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

830 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