Move MS Exchange 2016 Diagnostics Log Location

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!
Jason PickardAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul MacDonaldDirector, Information SystemsCommented:
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 EngineerCommented:
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
Jason PickardAuthor 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.
Jason PickardAuthor Commented:
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


This seems to work without issue after several reboots and updates the registry settings remain unchanged.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.