How to purge older IIS log files on Windows Server 2008 server

Posted on 2009-02-10
Medium Priority
Last Modified: 2012-06-21
We do a daily IIS log of websites. Today we ran out of room on a drive because the log files total was over 30 gigs. How can we purge IIS log files older than 30 days or something.
Question by:jamesh1031
  • 3

Author Comment

ID: 23604356
I will review. The 3rd link gave me a : Oops! This link appears broken.
LVL 13

Accepted Solution

Praveen DM earned 2000 total points
ID: 23604456
LVL 13

Expert Comment

by:Praveen DM
ID: 23604487
Yeah Broken link...took from old saved docs... Will see if any other is avbl....  But as far as this shrinking of logs is concerned..It can be done via batch file with basic script...but most companies use third party tool and some hosting companies get these free with control panel tool... like Hsphere

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Suggested Courses

850 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