I am not an exchange admin. Sometime I get involved with space and performance related issues. I noticed the c: drive space filling up due to files C:\Program Files\Microsoft\Exchange Server\V15\Logging

I came across few posting about clearing the files. I am bit nervous about deleting anything since I do not manage the server.

Will the logs file be deleted after certain days automatically? or we have to do manually if so, Is it safe to do that?

5 Spice ups

Run a proper Exchange Aware backup of the Exchange environment and it will purge the logs after they’ve been backed up.

DO NOT under ANY CIRCUMSTANCES (except with MS on the phone telling you to) delete the log files.

Will the Exchange aware backup purge the iis, performance logs others than transaction logs?

We do not have DB or trans logs on this drive .

You may want to check the link below,

There’s a good wiki article about Exchange logs https://social.technet.microsoft.com/wiki/contents/articles/31117.exchange-2013-logging-clear-out-the-log-files.aspx

2 Spice ups

Hi,

Did you ever get a resolution to this? I have noticed the same thing after recently installing Exchange 2016.

I have an Exchange aware nightly backup job, but I believe this only tidies up the transactional logs, not all these other log files located in C:\Program Files\Microsoft\Exchange Server\V15\Logging.

I would be interested to here your results.

Anyone got a solution for this?

We have used the following script. I have still had issues with scheduling it, but it helps automate the deletion of the logs. As near as I can tell, there isn’t a way to disable the logs. You can however, redirect them to a secondary drive.

https://gallery.technet.microsoft.com/office/Clear-Exchange-2013-Log-71abba44

@Adam (AJ Tek)

An Exchange Aware backup does not remove the log files in those folders. It only handles the DB log files.

Name : Mailbox
LastFullBackup : 2/25/2019 9:06:25 AM

And yet I have over 70,000 files in the “logging” folder that adds up to over 18GB of disk space.

It’s perfectly fine to delete those files. I go through and purge them once a year.

I stand corrected.

Good afternoon, someone knows that saves this directory: Program Files\Microsoft\Exchange Server\V15\Logging\ConversationAggregationLog.

Where I find the configuration file to modify the retention period to a certain number of days.