If you run a Microsoft Exchange 2013 environment you may have noticed that the disk space will fill up with logging data.
Microsoft told us that this is by design. But what if you don’t want to enable all this logging? It also cost you performance… right?
This is what I did to disable the logging and win some disk space and performance back.
Open the Services console and disable the following services: Microsoft Exchange Diagnostics
And Performance Logs & Alerts.
After disabling the logs I opened MSExchangeHMWorker.exe.config with notepad.(ExchangeInstallPath\bin\MSExchangeHMWorker.exe.config)
Search for the line “IsTraceLoggingEnabled” and change the value “true” to “false”.
Save the file and reboot your server. You can now clear the logs in the monitoring path and they will not regenerate.
But if you think you’re there… you are wrong.
IIS on the exchange server also generates a lot of logging data. In this example I disabled logging for all the websites on this server.
Open the IIS manager on your Exchange server and select your server.
After that, click on Logging and in the next screen you can click on disable. Don’t forget to restart the IIS service.
Is there a downside on all of this? Yes, there is. If shit hits the fan and you have disabled all the logging and performance data, you cannot trace anything back.
In a production environment I would recommend you to add an extra disk\vm-disk and move all the logging data to the extra disk.
But for your test environment this definitely will help you out with your disk space\performance issues.
Is an experienced IT specialist in the area of migration, implementation and re-design of and upgrading networks. Has in-depth knowledge of Microsoft Server, Terminal Services, Exchange, Citrix, DNS, Active Directory and VPN connections. Also has wide experience with the complete design of servers, including operating systems, middleware and applications. And of course, experience with managing databases such as MS SQL and designing virtual environments with VMware/ESX.
Ambitious, hands-on, enthusiastic, responsible, cheerful
Anything and everything to do with cars, hi-fi and aquaria
Senior Systems Engineer