We help IT Professionals succeed at work.

Move MS Exchange 2016 Diagnostics Log Location

Jason Pickard
on
369 Views
Last Modified: 2019-02-26
We have recently installed MS Exchange 2016 (Build 1591.10) and were in the process of moving all of the log locations to another drive.

We ran into an issue where we could not locate any program, service, or process that corresponds to the following location:

C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Diagnostics\Logs\

This folder is generating a tremendous amount of logs and is eating away at our primary C:\ partition.

The only thing that I have found related to the logs generated in the aforementioned folder is a registry location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Search Foundation for Exchange\Diagnostics

If anyone would happen to know what service, process, or application is generating  these logs it would be of great help!
Comment
Watch Question

Paul MacDonaldDirector, Information Systems
CERTIFIED EXPERT

Commented:
Look under "Daily Performance Logging" on this link.

The author notes that it doesn't seem to be possible to move the log location in Exchange 2016, as one could in Exchange 2013, but there is information on stopping the two services that generate the log files in question.
timgreen7077Exchange Engineer
CERTIFIED EXPERT
Distinguished Expert 2018

Commented:
You can't disable or move these logs, and they don't clear. You can see the below link and run the script to safely remove those logs. I have this setup to run as a scheduled task about every 20 days. These are just logs and the script will safely remove them with no issues.

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

Author

Commented:
Update:

I have successfully modified the corresponding registry entries:
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Search Foundation for Exchange\Diagnostics)
"LogDir"="H:\Exchange\Logs\V15\Bin\Search\Ceres\Diagnostics\Logs\"
"UsageLogDir"="H:\Exchange\Logs\V15\Bin\Search\Ceres\Diagnostics\Logs\"
"LogPath"="H:\Exchange\Logs\V15\Bin\Search\Ceres\Diagnostics\"
"LogDiskSpaceUsageGB"=dword:00000006

I then rebooted and had to make a folder in the corresponding drive location for the logs to start generating.

This still doesn't explain what is generating these logs and where else I can modify the settings for this service/process/app.
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions