Exchange 2007 Messaging Tracking

This is an interesting one I found.  We set Message Tracking on out Hub Role servers so it would purge the logs after 30 days .. nice and simple. 

MessageTrackingLogEnabled               : True
MessageTrackingLogMaxAge                : 30.00:00:00
MessageTrackingLogMaxDirectorySize      : 250MB
MessageTrackingLogMaxFileSize           : 10MB
MessageTrackingLogPath                  : F:Program FilesMicrosoftExchange ServerTransportRolesLogsMessageTracking
MessageTrackingLogSubjectLoggingEnabled : True

So, I need to look for some logs over Easter and they where no there!?!  As you can see Message Tracking has another setting MessageTrackingLogMaxDirectorySize and my logs amounted to 240mb which is why I couldn’t find them.

So, make sure you have set MessageTrackingLogMaxDirectorySize to a decent size, like 2gb?  You can do this by running:

Set-TransportServer   -MessageTrackingLogMaxDirectorySize 2gb

Also  make sure these setting are the same on any Mailbox role, as they have Message Tracking logs too!

MessageTrackingLogEnabled               : True
MessageTrackingLogMaxAge                : 30.00:00:00
MessageTrackingLogMaxDirectorySize      : 250MB
MessageTrackingLogMaxFileSize           : 10MB
MessageTrackingLogPath                  : C:Program FilesMicrosoftExchange ServerTransportRolesLogsMessageTracking
MessageTrackingLogSubjectLoggingEnabled : True

But to set it on a Mailbox Role you need to run:

Set-MailboxServer   -MessageTrackingLogMaxDirectorySize 2gb

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: