Dealing with Exchange 2013 Log files and Daily Performance Logs

Posted on 2015-01-05
Last Modified: 2015-03-12
I have an Exchange Server 2013 box with a 64GB C drive partition and and a 64gb D drive partition which we use for transaction logs. We have another E drive partition that is 400GB for the actual mailboxes and another 400GB drive for backups.

We had been using Exchange 2010 prior to this and had no such issues with log files and therefore we doubled our C:\ drive requirements from 32GB to 64GB and assumed this will be more than enough considering the amount of mailboxes we have. Unfortunately we had not realised that the log files would result in a massive storage issue for us. We have now got a script that clears the log files however, the daily performance logs under performance monitor takes up almost 1gb a day. I had tried to disable this but every few days it turns itself back on.

Are there any solutions for us to get around this as this is eating into our C drive storage which in turn risks downtime for us.
Question by:MSSC_support
  • 3
  • 2
  • 2
  • +1
LVL 24

Expert Comment

ID: 40531215
Is there no way you can allocate more disk space to the C: drive? Short of using junction points to redirect the logs folder to another location, I'm not too sure what else you can do besides have scripts constantly running in the background to clear out old logs.
LVL 12

Expert Comment

ID: 40531272

You could configure Database Backup to run which will delete log files after successful completion of backups. This could be Full Backup to run on weekend and incremental backups for weekdays, both of these backups clears log files.
LVL 12

Accepted Solution

SreRaj earned 500 total points
ID: 40531289
You could refer following article on how to backup Exchange 2013 using Windows Server Backup.

Expert Comment

by:Sudhir Bidye
ID: 40531393
You have 2 options.
Either configure the daily backups or enable circular logging on your databases which will purge the logs automatically.
Most experts will recommend to run daily backups instead of enabling circular logging as circular logging can be troublesome while performing disaster recovery.

How to enable circular logging:
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why


Author Comment

ID: 40531478
Well, I run daily backups anyway so I assume I am just missing the logfiles which is why they are not purging. I will give that a shot. Additionally, these aren't the database logs but the logs that sit in the root of the Exchange Install folder. (The folder itself is called logging). How can I increase the size of the C drive? It is a VM on ESXi 5.5. Is there a way to do this without destroying the server? The last time I attempted this was on ESXi 3.5 and it would not allow me to increase the size of the C drive as I had other partitions.


Expert Comment

by:Sudhir Bidye
ID: 40531591
I guess, If you have both C: and E: on the same virtual disk then it still wont allow you to expand C:

If you are talking about the DailyPerformanceLogs then below articles can be helpful. If not then let me know the exact full path and the name of the log file.

Expert Comment

by:Sudhir Bidye
ID: 40531596

Author Closing Comment

ID: 40661210
I added the log files from the Exchange logging folder and it purged them all.

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
Read this checklist to learn more about the 15 things you should never include in an email signature.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video discusses moving either the default database or any database to a new volume.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now