Motivation: Making the Systems Engineers life easier.

Clear Out Logs for Exchange 2013/2016/2019

Microsoft Exchange

Clear Out Logs for Exchange 2013/2016/2019

For every task that is performed in the back-end on our Exchange Servers, there are tons of logs generated at each time. Exchange Administrators need to clear out the logs on regular basis or if the disk gets full then the Databases gets dismounted and mail services will go down.

Follow the below process to clear out the logs which I have been following since years successfully:

  1. C:\inetpub\logs\LogFiles: Delete all the logs from both the folders W3SVC1 and W3SVC2

  2. C:\Program Files\Microsoft\Exchange Server\V15\Logging\Diagnostics:Delete all the logs from DailyPerformanceLogs and PerformanceLogsToBeProcessed folders.

  3. C:\Program Files\Microsoft\Exchange Server\V15\Logging\RpcHttp: Delete all the logs from both the folders W3SVC1 and W3SVC2

  4. C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy: Delete all the log files from all the folders highlighted in the below snapshot.

  5. C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Diagnostics\Logs: Delete all the log files from this path.
  6. C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Diagnostics\ETLTraces: Delete all the log files from this path.

Once the logs are cleared from all the above paths, you should have ample of space.

Comments (3)

  1. Vineesh Vijayan

    Simple and clear.
    In my case inetpub logs was holding more than 50% of data space for logs.
    Saved time and production hours.
    Thanks Amir!

    July 4, 2022 at 9:54 am
    |Reply
  2. Adam

    Thanks! Cleared near 10gig from my inetpub logs alone.

    December 15, 2022 at 2:06 pm
    |Reply

Leave a Reply to 452 4.3.1 Insufficient System Resources – Ammar's IT Blog Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Topics