Configure the Maximum Age for the Message Tracking Logs

Cc539071.chm_head_left(en-us,TechNet.10).gif Cc539071.chm_head_middle(en-us,TechNet.10).gif Cc539071.chm_head_right(en-us,TechNet.10).gif

Configure the Maximum Age for the Message Tracking Logs

By default, the maximum age for any message tracking log file is 30 days. Circular logging deletes the oldest message tracking log files if either of the following conditions is true:

  • The message tracking log directory reaches its specified maximum size.
  • A message tracking log file reaches its specified maximum age.

Run the following command on an Edge or Hub server: <pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">Set-TransportServer &lt;Identity&gt; -MessageTrackingLogMaxAge &lt;Age&gt;</pre> Run the following command on a Mailbox server: FakePre-c378d425cb834de788e69cdc064eadda-07d75f303c6e469493fa0d56e8258b79

To specify an age value, enter it as a time span, as follows: dd.hh:mm:ss where d = days, h = hours, m = minutes, and s = seconds. The valid input range for this parameter is 00:00:00 to 24855.03:14:07. Setting the value of the MessageTrackingLogMaxAge parameter to 00:00:00 prevents the automatic removal of message tracking log of files because of their age.