Running out of space in Drive (C: )

Meraj mohd
Meraj mohd used Ask the Experts™
on
Dear Friends,

Can I delete these LogFiles of Exchange Server 2016, It is  deployed in production environment and we are running out of pace in Drive (C: ). Although the transaction Logfiles (E00000172383,1024 KB { this type}) are already dumping on another drive. I am afraid of deleting these files. Deletion of these files can cause  problem for the Exchange server ? I really need help of you guys. Pleasae look at the attachment. You advice is always leads me to solution. Hope this time as well. Thanks in advance
Inetpub.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Product Manager
Top Expert 2009
Commented:
This is actually IIS folder (Microsoft Internet Information Services). Here is a guide how to deal with the logs: https://docs.microsoft.com/en-us/iis/manage/provisioning-and-managing-iis/managing-iis-log-file-storage
Adam BrownSenior Systems Admin
Top Expert 2010
Commented:
It's usually safe to delete logs in the inetpub folder. In fact, any folder with logs that aren't transaction logs can be cleared. I wrote a script that will clean all logs for exchange 2016, assuming default locations. https://acbrownit.com/2019/03/12/clearing-logs-from-all-exchange-servers/
Dr. KlahnPrincipal Software Engineer
Commented:
Have you enabled circular logging, or are the log files allowed to grow without limit?

If circular logging is enabled the log files will grow only to the maximum size permitted and from that time forward new entries will overwrite the oldest ones.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Jose Gabriel Ortega CastroTop Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018
Commented:
I'd follow the Dr Klahn advice,
Just enable the Circular Loggin, and then disable it.
but sometimes a great amount of logs means that there's probably something wrong on the server so I'd check it out event viewer to see if there are any issues I could solve it.

And windows backups truncate the logs and clears them, same as backupexec solution.
timgreen7077Exchange Engineer
Distinguished Expert 2018
Commented:
From your screen shot that is the IIS Log file folder. Yes you can delete those files without any issues. Circular logging will nothing to do with the IIS Log files, so you are fine to delete them. I would suggest looking at the below link and running the script as a scheduled task because it will clear the IIS Log file and also the ETL log files. If not this will be an on going issue for you. I run this script once a month, but you can run it more frequently if you need to.

Author

Commented:
Thanks to all for guidance.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial