Share via


[Exchange 2016] - Change path location for le Logging folder (Resolved)

Question

Friday, June 21, 2019 8:48 AM

Hello,

I wanted to know if it was possible to change the path of the Exchange log folder "c: \ Program Files \ Microsoft \ Exchange Server \ V15 \ Logging" to relieve the C: drive?

Thank you.

All replies (3)

Friday, June 21, 2019 4:57 PM ✅Answered

For Exchange Diagnostic logging? I would set up a scheduled task to clean them out periodically.

I wrote a blog post awhile back on how to get that set up:

http://www.exchangeitup.net/2016/11/exchange-20132016-cleaning-up-old.html


Monday, June 24, 2019 7:53 AM ✅Answered

Hi,

Lots of different services and protocol logs are under Exchange Server\V15\Logging. For some services, we can modify the web.config to change the log file path. Here is a blog about Exchange Server 2013/2016 EWS Logging Configuration. However, lots of work needs to be done if you want to change the default log generation path.

To save more disk space, we can create a task with Task Scheduler to clean these logs or move them to other disks regularly. Here is a similar issue, you may get some useful information from it: Logging folders filling rapidly

Regards,

Lydia Zhou

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].

Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Monday, June 24, 2019 8:48 AM

First of all, thank you for your answers.
Indeed, my question was about moving all the logs and not cleaning them but I understand that their sources are too many to modify and maintain them in time.

So... I will see for the cleaning script.
Thank you :)