Category: Uncategorized

Keep IIS Logs Clean and keep only a week worth of logs

Webserver logs can add up and eventually fill up your entire disk if not mananged properly. Windows and IIS don’t exactly give you flexible options to manage logs either. So what to do? Here’s simple solution. We’re going to create couple of scripts and kick off a Task to purge old logs.

Lets create a folder to store the scripts

Continue reading