TransportServer.MessageTrackingLogMaxDirectorySize property
Gets or sets the size limit for the message tracking log directory.
Namespace: Microsoft.Exchange.Data.Directory.Management
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Property MessageTrackingLogMaxDirectorySize As Unlimited(Of ByteQuantifiedSize)
Get
Set
'Usage
Dim instance As TransportServer
Dim value As Unlimited(Of ByteQuantifiedSize)
value = instance.MessageTrackingLogMaxDirectorySize
instance.MessageTrackingLogMaxDirectorySize = value
public Unlimited<ByteQuantifiedSize> MessageTrackingLogMaxDirectorySize { get; set; }
Property value
Type: Microsoft.Exchange.Data.Unlimited<ByteQuantifiedSize>
The size limit for all message tracking log files. The default value is 250 MB.
Remarks
The maximum size of the message tracking log directory is calculated as the total size of all log files that have the same prefix. Renaming old log files or copying other files into the log file directory could cause the directory to exceed its specified maximum size.
If the Hub Transport server role and the Mailbox server role are installed on the same server, the maximum size of the message tracking log directory is two times the specified value. The Hub Transport server role and the Mailbox server role use a different name prefix; therefore, the size limit is calculated separately for each role.
When the size limit for the message tracking log directory is reached, the oldest message tracking logs are deleted.
The default value for the MessageTrackingLogMaxDirectorySize property is 250 MB. When you enter a value, you can qualify it with one of the following units:
B (bytes)
KB (kilobytes)
MB (megabytes)
GB (gigabytes)
TB (terabytes)
Unqualified values are treated as bytes.
The valid values of the MessageTrackingLogMaxDirectorySize property are 1 byte to 9,223,372,036,854,775,807 bytes (8 exabytes). If you set the value of the MessageTrackingLogMaxDirectorySize property to unlimited, no size limit is placed on the routing table log file directory.
The value of the MessageTrackingLogMaxFileSize property must be less than or equal to the value of the MessageTrackingLogMaxDirectorySize property.