{"id":110,"date":"2011-01-04T04:17:19","date_gmt":"2011-01-04T04:17:19","guid":{"rendered":"http:\/\/www.itcrumbs.com\/?p=110"},"modified":"2019-02-07T04:40:47","modified_gmt":"2019-02-07T04:40:47","slug":"reclaiming-disk-space-lost-to-iis-logs-on-sbs-2003-and-sbs-2008","status":"publish","type":"post","link":"https:\/\/www.itcrumbs.com\/?p=110","title":{"rendered":"Reclaiming Disk Space Lost to IIS Logs on SBS 2003 and SBS 2008"},"content":{"rendered":"<p><a title=\"http:\/\/blogs.technet.com\/b\/sbs\/archive\/2008\/02\/28\/reclaiming-disk-space-lost-to-iis-logs-on-sbs-2003.aspx\" href=\"http:\/\/blogs.technet.com\/b\/sbs\/archive\/2008\/02\/28\/reclaiming-disk-space-lost-to-iis-logs-on-sbs-2003.aspx\">http:\/\/blogs.technet.com\/b\/sbs\/archive\/2008\/02\/28\/reclaiming-disk-space-lost-to-iis-logs-on-sbs-2003.aspx<\/a><\/p>\n<p>&#160;<\/p>\n<p><em>Today&#8217;s post comes to us courtesy of Justin Crosby and Wayne McIntyre]<\/em><\/p>\n<p>Today we are going to discuss an SBS &quot;house cleaning&quot; tip.&#160; If you have been running SBS 2003\/2008 for awhile you may be using a lot of disk space to store old IIS logs.&#160; This is especially true if your clients are heavy OWA, ActiveSync, RPC over HTTP, or SharePoint users.&#160; A recent customer of mine had files dating back to 2004 and was using almost 2 Gigabytes of hard drive space to store these old logs. <\/p>\n<p>To reclaim this space all you need to do is to delete the old IIS log files.&#160; Please be sure to back them up before deleting, just in case you need the logs in the future.&#160; I usually try to keep a week\u2019s worth of logs and delete everything older than that.&#160; The logs will be in folders underneath <strong>C:\\Windows\\System32\\LogFiles\\<\/strong> in SBS 2003 <b>and C:\\inetpub\\logs\\LogFiles<\/b> in SBS 2008 by default.&#160;&#160; Additionally there is a Remote Web Workplace log stored in SBS 2008 in the following location which can grow rather large <b>C:\\Program Files\\Windows Small Business Server\\Logs\\WebWorkplace.&#160; <\/b>If your log files are not stored in the default location, you can run the below command to determine the log file directory configured in IIS.<\/p>\n<p><a href=\"http:\/\/blogs.technet.com\/blogfiles\/sbs\/WindowsLiveWriter\/ReclaimingDiskSpaceLosttoIISLogsonSBS200_F51E\/clip_image002_2.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"clip_image002\" border=\"0\" alt=\"clip_image002\" src=\"http:\/\/blogs.technet.com\/blogfiles\/sbs\/WindowsLiveWriter\/ReclaimingDiskSpaceLosttoIISLogsonSBS200_F51E\/clip_image002_thumb.jpg\" width=\"589\" height=\"70\" \/><\/a><\/p>\n<p><strong>Note<\/strong>: It is inadvisable to search your hard drive(s) for *.log and delete all that you find.&#160; Many programs actively use information stored in .log files, such as Exchange, and deleting the file may cause issues including potential data loss.&#160; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/blogs.technet.com\/b\/sbs\/archive\/2008\/02\/28\/reclaiming-disk-space-lost-to-iis-logs-on-sbs-2003.aspx &#160; Today&#8217;s post comes to us courtesy of Justin Crosby and Wayne McIntyre] Today we are going to discuss an SBS &quot;house cleaning&quot; tip.&#160; If you have been running SBS 2003\/2008 for awhile you may be using a lot of disk space to store old IIS logs.&#160; This is especially true if your clients [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=110"}],"version-history":[{"count":1,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/110\/revisions"}],"predecessor-version":[{"id":795,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/110\/revisions\/795"}],"wp:attachment":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}