Thursday, 19 March 2015

How to Configure Routing Logging in Exchange Server 2010

Exchange Server 2010 running Hub Transport or Edge Transport role creates a log that periodically records a snapshot of the routing table. This routing table is used to route messages to their destination.
How to Change the Location of the Routing Table Log files
The default location of routing logs is C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\Routing directory. The directory must be local to the Exchange 2010 computer. We cannot use Exchange Console to change the location of the routing table log files.
Set-TransportServer PC01 -RoutingTableLogPath "C:\Routing table"

How to Configure the Maximum Size of the Routing Table Log Directory
The default size of the whole routing table log directory is 50MB. Circular logging deletes the oldest log file after the routing table log directory maximum size or maximum age limit is reached. We cannot use Exchange console to change this setting.

Below we have changed the routing table log directory size to 100MB.
Set-TransportServer PC01 -RoutingTableLogMaxDirectorySize 100MB

How to Configure the Maximum Age of the Routing Table Log Files
The default age of the any routing table log file is 7 days. Circular logging deletes the oldest log file after the routing table log directory maximum size or maximum age limit is reached. We cannot use Exchange console to change this setting.


Set-TransportServer PC01 -RoutingTableLogMaxAge 15.00:00:00
Format is dd.hh:mm:ss

No comments:

Post a Comment