Microsoft Exchange 2010 increase age and size of logs

Default exchange 2010  max age and tracking logging

Go to Exchange Management Shell

The default values of microsoft exchange 2010 can be obtain by running below command:

Get-TransportServer MAILSERVERNAME | fl messagetracking*

MessageTrackingLogEnabled : True
MessageTrackingLogMaxAge : 30.00:00:00
MessageTrackingLogMaxDirectorySize : 1000 MB (1,048,576,000 bytes)
MessageTrackingLogMaxFileSize : 10 MB (10,485,760 bytes)
MessageTrackingLogPath : C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking
MessageTrackingLogSubjectLoggingEnabled : True

Increase maximum age and size for exchange 2010
Max age for 90 days:
Set-TransportServer SERVERNAME -MessageTrackingLogMaxAge 90.00:00:00
Max Directory Size 3000MB:
Set-TransportServer SERVERNAME -MessageTrackingLogMaxDirectorySize 3000MB
Increase max file size
Set-TransportServer SERVERNAME -MessageTrackingLogMaxFileSize 20MB

Fully optimised SSD hosting

Optimised for WordPress & other applications