sandan9
asked on
IIS Log files on Exchange 2013 server
I have an exchange 2013 dedicated VM, windows server 2012 r2. I have 2 partitions. 130gb c: and 750gb data E where the exchange database resides. The problem is C is filling up with IIS log files. there is about 90gb of log files and only about 8gb of space left.
What is the best and safest way to purge the IIS log files (located c:\inetpub\logs\logfiles\w 3svc1 and w3svc2) where it won't negatively affect the server?
What is the best and safest way to purge the IIS log files (located c:\inetpub\logs\logfiles\w
Take a look at this reference, as well as the reference links...
https://oddytee.wordpress.com/2014/09/11/references-remove-exchange-2013-diagnostic-log-files/
https://oddytee.wordpress.com/2014/09/11/references-remove-exchange-2013-diagnostic-log-files/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
HI. Thanks for the comments and help. Reading the batch file, my only concern is my backups that run daily remove the logs once the backup complete, so the exchange log files located on E:\Program Files\Microsoft\Exchange Server\V15\Logging are not an issue. I would only want to purge the IIS files exclusively.
The link provided mentions the exchange logs, which I thankfully don't need to worry about.
I will try the compression. Great idea. I will let you know how it works. Thanks!
The link provided mentions the exchange logs, which I thankfully don't need to worry about.
I will try the compression. Great idea. I will let you know how it works. Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you all for the information. I kept the batch file for future potential use. Enabling compression worked perfectly. went from 90gb to 50gb, compressing 40gb which gets me out of the woods. Thanks again.
Open in new window