Forum Discussion
Exchange Server 2016 Hybrid Server Log Management
- Feb 17, 2018
Hi Christopher,
This article could help you https://social.technet.microsoft.com/wiki/contents/articles/31117.exchange-2013-logging-clear-out-the-log-files.aspx
Hello Christopher,
There are some configurable settings on the Transport Service. When you run Get-TransportService | fl *MaxDirectorySize* you find the maximum directory size for some logging directories. You can change these settings with Set-TransportService.
You can also change the LogMaxAge for these different logging types. Get-TransportService | fl *LogMaxAge* shows the maximum log age for the different logging types. These settings can also be changed with Set-TransportService.
Besides those settings, you will still need to clean your IIS logs as suggested earlier.
Best regards,
Ruud Gijsbers
- Christopher LeeFeb 20, 2018Brass Contributor
Raud,
Thanks for the post. Great information on controlling transport logs, but the logs that I see growing without an easy way to truncate are the performance and diagnostics logs outside of the transport service.
- RuudGijsbersFeb 20, 2018Iron Contributor
Christopher,
You're welcome. In addition to my previous post, you can follow the steps discussed in the link to disable the Performance and Diagnostic logging completely if you're not interested in the logs.
https://collaborationpro.com/exchange-2013-logging/
Otherwise you can schedule the script as discussed earlier to remain some logging.Best regards,
Ruud Gijsbers