Solved

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

Posted on 2011-02-28
3
219 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 500 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 500 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
A brief introduction to what I consider to be the best editor for PowerShell.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

830 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