Avatar of Jitendra Gautam
Jitendra Gautam
 asked on

move logging folder path to other drive in exchange server

We are running out of disk space so we decided to move logging folder path to other drive in exchange server for all services so please suggest.
Exchange

Avatar of undefined
Last Comment
Seth Simmons

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Thomas U

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jitendra Gautam

ASKER
I want to move folder path of all exchange services logs such as ImapService, Pop3 service, HttpProxy etc. Please check the attached screenshots for more reference.
LogScreenShot.png
Thomas U

I don't think thats possible.

You may use a script to delete everything that is older than 30 days (if you are ok with that)

The other solution would be something like this:
https://social.technet.microsoft.com/Forums/office/en-US/c67ba097-9c2c-4abe-a555-97298d463691/move-logging-folder-and-all-subfolders?forum=exchangesvradmin

You practically create a new partition, move the logs there, then instead of using a driveletter, you mount is as an NTFS FOLDER.

regards
Thomas
Thomas U

Found something else that you might be interested:

https://www.b-blog.info/en/moving-exchange-2013-logs-from-default-folders-with-help-of-powershell.html

maybe thats the way you go...
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Jitendra Gautam

ASKER
I gone through the link but it only move few logs folders.
Jitendra Gautam

ASKER
Please check the attached screenshot.
LogScreenShot1.png
Thomas U

there are 2 different scripts...you need to use/execute both of them to move the logs. If you are not in a big enviroment, Clientaccess and mailboxserver are on the same server.

Please make sure you follw exactly the description on the page to move the logfolders.

regards
Thomas
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
CHILLI-BYTE

I would check which folders contain log files and based on the size of the folder, I would then move the largest ones to an alternate location.
You should also check what logging options are enabled, length and size of default logs.
SOLUTION
Todd Nelson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jitendra Gautam

ASKER
Thanks to all.
Seth Simmons

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- 'Thomas U' (https:#a42671762)
-- 'Todd Nelson' (https:#a42674191)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck