Exchange 2013 and the logging issue..

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.