Suggested Retention of Application Log Files in Exchange 2016

Phillip McElroy 21 Reputation points

Pertaining to Logs in the ExchangeInstallDir\V15\Logging, wondering if there is a suggested best practice for the retention time of these logs. We all know Exchange is a beast and logs a ton (as an example, on one of our 2016 Servers, this location has ~90GB over ~110K log files. About 1/3 of these are more than a year old). To be clear, these are not the Database Transaction logs as those are stored elsewhere.

From what I could tell, the majority of the information within these logs is technical in nature and would provide value mostly in troubleshooting/diagnosing an issue. In which case, I can't imagine trying to troubleshoot or diagnose issues from a year ago.

Thoughts/opinions/documents on the topic?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,397 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 142.8K Reputation points MVP

    Most of the diags roll over after 30 days - or they should. You can ensure they get removed:

    personally, I wouldnt keep more than that. If you are troubleshooting an issue, you arent really gonna care beyond 30 days IMO. Even then - you really would be looking at anything even more recent than 30 days.

1 additional answer

Sort by: Most helpful
  1. Samdi 26 Reputation points

    You can remove these logs.

    Check the script in the below linked post to see the script in action.

    0 comments No comments