Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, July 8, 2016 4:01 PM
Hi,
is there any possibility to disable or Limit logging inside the following Folders in Exchange 2016? These are filling up rapidly and the Server is ending up in a back pressure Situation again and again...
C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Ews
C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Mapi
C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Autodiscover
C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\RpcHttp
These 4 Folders in combination are already taking around 40GB fo space.
Thanks in advance.
Regards
Marcel
All replies (8)
Wednesday, July 13, 2016 9:33 AM ✅Answered
Hi Marcel,
Welcome to our forum.
We could not disable or limit those log under C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy, we could delete them manually.
Best Regard,
Jim Xu
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Jim Xu
TechNet Community Support
Sunday, July 10, 2016 5:31 AM
You can disable the monitoring logs
Steps to disable them are
Goto your exchange servers
Open <ExchangeInstallPath>:\bin\MSExchangeHMWorker.exe.config in a administrative notepad
Find the Line <add key=”IsTraceLoggingEnabled” value=”true” /> and change to false and save. Reboot server and you can now clear the logs in the monitoring path and they will not regenerate
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish (MVP)
Monday, July 11, 2016 6:57 AM
Hi Sathish,
I'll give that a try. What do you mean by "Monitoring path"? Are there just Monitoring Logs inside HttpProxy\Ews, HttpProxy\Mapi, HttpProxy\Autodiscover and HttpProxy\RpcHttp?
Thanks.
Wednesday, July 13, 2016 9:42 AM
Hi
Here you go the best way to address this issue automatically
http://social.technet.microsoft.com/wiki/contents/articles/31117.exchange-2013-logging-clear-out-the-log-files.aspx
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish (MVP)
Thursday, July 14, 2016 9:09 AM
Hi Marcel,
Is there any update for this thread?
If the above suggestions are helpful to you, please mark it as answer so that someone who has similar issue could find this thread as soon as possible.
Best Regard,
Jim Xu
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Jim Xu
TechNet Community Support
Thursday, July 14, 2016 10:00 AM
Thanks,
although I cant understand why there is no option to disable that logging, this threat can be closed.
Thursday, June 21, 2018 12:46 PM
the easiest way is to create a scheduled task running powershell.exe with following argument:
Get-ChildItem ‘C:\Program Files\Microsoft\Exchange Server\V15\Logging’,’C:\inetpub\logs’ -Recurse -Include ‘*.log’ | ? LastWriteTime -lt (Get-Date).AddDays(-7) | Remove-Item
this would delete all *.log files older than 7 days. you may have to adjust your logfile path.
Wednesday, July 11, 2018 6:51 PM | 1 vote
I've been searching for a way to move the HttpProxy folder and monitoring folder from my exchange folder to another partition with more space and have yet to find a solution. Our email stopped flowing yesterday because our system drive filled up to less than 10GB free so I ran a robocopy command that moves all log files older than 7 days from my c:*\logging folder to my logging folder on my e:\ which moved over 20GB of logs and enough to de-cripple our server. sharing this command if anyone needs a quick patch
Robocopy ‘C:\Program Files\Microsoft\Exchange Server\V15\Logging’ 'E:\Exchange Server\V15\Logging' *.log /s /mov /minage:7
-tommy