troubleshooting Question

How long should I keep log files

Avatar of Jim P.
Jim P.Flag for United States of America asked on
Microsoft IIS Web Server
1 Comment1 Solution785 ViewsLast Modified:
I've inherited a Sharepoint/IIS server. From my best guess the developers and former DBA's were the type to just put up stuff and no one worried about maintenance until they were bit in the butt.

This particular server has SQL Express 2005 and Sharepoint/IIS loaded on it.  Using WinDirStat it's showing 10.2 GB of text files. A lot of the files are sharepoint and IIS logs back to October of 2010.

I'm thinking about creating a SQL SP to read the various directories and wipe out files older than 30 days? Then have the SQL Server agent from another server run the SP on a weekly basis.

Any ideas, disagreements, reasons for longer retention would be appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros