Move Exchange 2019 Logging location

Miles M 1 Reputation point
2022-08-05T17:34:50.72+00:00

I can't seem to get a straight answer on this on any forum so hoping someone can help.

We have an Exchange 2019 instance setup with the default logging location set to "C:\Program Files\Microsoft\Exchange Server\V15\Logging". We need to change this entire directory path, it's not just a storage issue it's part of our company security policy to keep this entire folder on a separate partition from the application. I already moved the transaction logs with the databases as well as the SMTP send and receive log locations via Exchange shell but is there no way to move this entire Logging folder and all of its log contents to a different drive or share? Even if I have to use the shell and do each folder manually, I'm fine with that but the names appear different in the shell and I don't know how to match them up or redirect the paths.

I'm aware these are mostly diagnostic logs, I know there's a way to shorten and delete old logs, I'm aware I can use a Windows task to move them, that's not what I'm asking for. I need to have this entire Logging directory moved and pointed to within the application for writing all said logs going forward. Help is much appreciated.

Exchange | Exchange Server | Management
{count} votes

1 answer

Sort by: Most helpful
  1. Jame Xu-MSFT 4,191 Reputation points
    2022-08-08T06:08:15.443+00:00
    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.