?
Solved

How should you tune / changes the Exchange 2007 message tracking log ?

Posted on 2011-02-28
3
Medium Priority
?
225 Views
Last Modified: 2012-05-11
Hi All,

What should be the configuration of Exchange Server Message tracking log ?

Get-ExchangeServer | where {$_.isHubTransportServer -eq $true} | Get-TransportServer | select Name, *MessageTracking* | ft -AutoSize

Open in new window


from the powershell above result here's the result:

what is the best practice if I want to have a retention of let say 4 months ?
Name        MessageTrackingLogEnabled MessageTrackingLogMaxAge MessageTrackingLogMaxDirectorySize MessageTrackingLogMaxFileSize MessageTrackingLogPat                                                                                                                                h                    
----        ------------------------- ------------------------ ---------------------------------- ----------------------------- ---------------------
ExHTServer1                      True 20.00:00:00              250MB                              10MB                          D:\Program Files\M...
ExHTServer2                      True 20.00:00:00              250MB                              10MB                          D:\Program Files\M...
ExHTServer3                      True 20.00:00:00              250MB                              10MB                          D:\Program Files\M...

Open in new window

0
Comment
Question by:jjoz
  • 2
3 Comments
 
LVL 11

Assisted Solution

by:MichaelVH
MichaelVH earned 2000 total points
ID: 35004400
Hi there,

you've got the "MessageTrackingLogMaxAge"-property of an Transportserver that you can change to a value that you'd like.
The default value is "30.00:00:00" (30 days).

It can be set using: Set-Transportserver -Identity 'servername' -MessageTrackingLogMaxAge 'timetokeep'


Grts,

Michael
0
 
LVL 1

Author Comment

by:jjoz
ID: 35004520
ah, IC
so what about the filesize itself ?
should I change it also or it is the rule of how big is the log file size chunk ?
0
 
LVL 11

Accepted Solution

by:
MichaelVH earned 2000 total points
ID: 35005405
Well,

you'd want to limit the log file size (directory size) to make sure that your drive doesn't run out of space and that your log doesn't get too big.
It's up to you to define what you're up to :)

Grts,

Michael
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post, we will learn to set up the Group Naming policy and will see how it is going to impact the Display Name and the Email addresses of the Group.
The Exchange database may sometimes fail to mount owing to various technical reasons. A dismounted EDB file can be the source of many Exchange errors including mailbox inaccessibility for users. Resolving the root cause of mounting problems becomes …
This video discusses moving either the default database or any database to a new volume.
Loops Section Overview

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question