• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

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

0
jjoz
Asked:
jjoz
  • 2
2 Solutions
 
MichaelVHCommented:
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
 
MichaelVHCommented:
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
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.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now