LOGS MAX*
Hello, I wish to enlarge the MaxAge, MaxDirectorySize and MaxFileSize of Connectivity Logs, Message Tracking Log and receive/Send Protocol Logs. I can track up to 30 days and wondered if I could enlarge those logs to 60-90 days? [PS] C:\GRAIG>Get-TransportServer | FL Name : EDGE02 AntispamAgentsEnabled : True ConnectivityLogEnabled : True ConnectivityLogMaxAge : 30.00:00:00 ConnectivityLogMaxDirectorySize : 250MB ConnectivityLogMaxFileSize : 10MB ConnectivityLogPath : C:\Logs\Connectivity MessageTrackingLogEnabled : True MessageTrackingLogMaxAge : 30.00:00:00 MessageTrackingLogMaxDirectorySize : 250MB MessageTrackingLogMaxFileSize : 10MB MessageTrackingLogPath : C:\Logs\MessageTracking PoisonMessageDetectionEnabled : True PoisonThreshold : 2 QueueMaxIdleTime : 00:03:00 ReceiveProtocolLogMaxAge : 30.00:00:00 ReceiveProtocolLogMaxDirectorySize : 250MB ReceiveProtocolLogMaxFileSize : 10MB ReceiveProtocolLogPath : C:\Logs\SmtpReceive RecipientValidationCacheEnabled : True ReplayDirectoryPath : C:\Program Files\Microsoft\Exchange Server\TransportRoles\Replay RootDropDirectoryPath : RoutingTableLogMaxAge : 7.00:00:00 RoutingTableLogMaxDirectorySize : 50MB RoutingTableLogPath : D:\Logs\Routing SendProtocolLogMaxAge : 30.00:00:00 SendProtocolLogMaxDirectorySize : 250MB SendProtocolLogMaxFileSize : 10MB SendProtocolLogPath : C:\Logs\SmtpSend I am a bit confused as I read that the message tracking logs have an age limit of 30 days.. Thanks, Graig
April 18th, 2012 8:35am

You can set to whatever you want: Example( Set to 90 days to keep and 50GB Max Directory Size) Set-TransportServer NameofServer -MessageTrackingLogMaxDirectorySize 50GB -MessageTrackingLogMaxAge 90.00:00:00
Free Windows Admin Tool Kit Click here and download it now
April 18th, 2012 8:52am

Thanks a lot. So there is no harm to run that (180 days and 999 GB)? Set-TransportServer -identity EDGE02 -MessageTrackingLogMaxDirectorySize 999GB -MessageTrackingLogMaxAge 180.00:00:00 Would that enlarge the MaxAge, MaxDirectorySize and MaxFileSize of Connectivity Logs, Message Tracking Log and receive/Send Protocol Logs. ??? For information I have 30 Go free space on the partition where I store my logs. All my logs are set to 250MB. So 250 x 4 = 1000MB so If I change it to 999MB --> 999 x 4 = 3996MB (4 Go). I should be an increase of 3 Go and not impact if much on the free space. Am I correct? Graig
April 20th, 2012 5:04am

If you have the free space, available, no problem, but the reality is you probably will never need to go back farther than 30 days.
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2012 8:22am

Just wanted to correct my command: Set-TransportServer -identity EDGE02 -MessageTrackingLogMaxDirectorySize 999GB -MessageTrackingLogMaxAge 180.00:00:00 should read Set-TransportServer -identity EDGE02 -MessageTrackingLogMaxDirectorySize 999MB -MessageTrackingLogMaxAge 180.00:00:00 I put GB instead of MB... :-P Graig
April 23rd, 2012 11:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics