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

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

LVL 1
jjozAsked:
Who is Participating?
 
MichaelVHConnect With a Mentor Commented:
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
 
MichaelVHConnect With a Mentor Commented:
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
 
jjozAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.