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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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.
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!


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:

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

732 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