Ask the Expert

Automating Exchange Server 2003 log file cleanup

Is there any way in Exchange Server 2003 to recycle the log files in the tracking log files inside <server_name>.LOG? An example of a typical log file name is: 20060203.Log. We are finding that very large log files are created, and if we don't delete them once a month, the Exchange server runs out of disk space on that volume.

We need an elegant way to recycle them either by size, date, etc. (e.g., it would be nice to set a size limit, say 250 MB, at which point the server will start a new log file).

    Requires Free Membership to View

Exchange Server allows you to specify a cleanup interval, typically somewhere between seven and 30 days. In Exchange System Manager, navigate to Properties for a given Exchange Server by right-clicking the server name. Then, on the General tab, specify "Remove Log Files" and enter the number of days in the "Remove files older than (days)" text box.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from

  • Tip: How to automatically purge Exchange-related logs
  • Learning Center: Tame your Exchange Server transaction logs
  • Step-by-Step Guide: Exchange capacity planning with Performance Monitor
  • Best Practices Guide: Optimizing Exchange Server disk performance
  • Reference Center: Exchange Server monitoring and logging tips
  • This was first published in August 2006

    There are Comments. Add yours.

    TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

    REGISTER or login:

    Forgot Password?
    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
    Sort by: OldestNewest

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to: