Link to home
Start Free TrialLog in
Avatar of NoodlesWIU
NoodlesWIU

asked on

On Prem Exchange Server. Can I delete IIS logs?

We have an on-prem 2016 Exchange Server.  I just noticed how much of the C:\> drive was filled and noticed I have 300GB worth of IIS log files in the Inetpub\logs\LogFiles Folder.  Can I simply delete the log files under the two Web instances I have of W3SVC1, and W3SVC2?

I really don't need the old accumulation of logs.
ASKER CERTIFIED SOLUTION
Avatar of Saif Shaikh
Saif Shaikh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can I simply delete the log files under the two Web instances I have of W3SVC1, and W3SVC2?  yes delete old logs.


you could also just download the cleanuplogs.ps1 from here

https://gallery.technet.microsoft.com/office/Clear-Exchange-2013-Log-71abba44

This will then allow you to recover more space.
I suggest moving the logs to a different drive, and compress the directory. We typically put Exchange logs on a dedicated drive, which is very easy to do when it is a VM.