-->

Saturday, August 22, 2015

Exchange 2013 Compressing Diagnostic Log Directory

I've been having a heck of a time keeping the Exchange 2013 diagnostic logs folder from growing out of control.
The reasoning is: if you have problems with Exchange, it takes less time for Microsoft support to gather logs because they're all there.
The drawback is: if your infrastructure team has a tight hold on storage, and they won't extend your drive, you run out of space very quickly and back pressure will stop mailflow.

Previously, I was running a clean up script, but if I forgot to run it we'd lose space too quickly.

I've found that compressing the diag log folder does a very good job at saving space and there are absolutely no adverse effects on Exchange functions.

On each Exchange 2013 server holding the CAS role, or multi-role, browse to:

C:\Program Files\Microsoft\Exchange Server\V15

Right-click the "Logging" folder and chose "Properties".

Click "Advanced".

Chose "Compress contents to save disk space".

Click OK two times.

Select "Apply changes to this folder, subfolders and files".

Click OK.

You'll get a prompt saying files are in use, just click "Ignore All"

**Note** The files that were in use will eventually be overwritten and all newly created logs will be compressed.

Now, your log folder will shrink tremendously since log files compress very well.

No comments:

Post a Comment