Solved

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

Posted on 2011-02-28
3
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

717 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