question

AdamTyler-3751 avatar image
0 Votes"
AdamTyler-3751 asked JeffYang-MSFT commented

Exchange Server 2016 and logging

Hello, we've been experiencing some excitement over here due to excessive logging in Exchange 2016. We have a single Exchange 2016 server (CU20) and we've been doing mailbox moves from an old Exchange 2010 server that is going away as soon as we get finished.

Anyway, we have close to 1000 mailboxes and have moved almost 850 at this point. Exchange 2016 has two mailbox databases each about 500Gb in size at this point. The database logs are not a part of this post, they are under control using backups and a standard truncation schedule.

The logs I am referring to reside in the following directories. In a 24 hour period, I've seen these take as much as 15Gb.
C:\inetpub\logs\LogFiles\W3svc1
C:\inetpub\logs\LogFiles\W3svc2
C:\Program Files\Microsoft\Exchange Server\V15\Logging\NotificationBroker\Client
C:\Program Files\Microsoft\Exchange Server\V15\Logging\Ews
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\MapiHttp\Mailbox
C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Owa
C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Eas
C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Diagnostics\Logs

Is there something that can be done to prevent these logs files from consuming so much space or is this just by design? I've had to create a daily schedule task to delete anything in all of these directories older than 24 hours just to prevent an unplanned outage. The OS volume is allocated 100Gb and was down to 8Gb this morning free space. Yikes. Back to 21Gb free this morning after deleting log files.

Regards,
Adam Tyler

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JeffYang-MSFT avatar image
0 Votes"
JeffYang-MSFT answered JeffYang-MSFT commented

Hi @AdamTyler-3751,

Based on my knowledge, the migration behavior should be more related to your database log. However, according to my search, I do also find some similar threads mentioned the same situation as yours, in which says, after migrating mailboxes, Exchange 2016 server will process more client behaviors than a proxy server including Autodiscover, ActiveSync and so on. So, I'm afraid that should be a normal behavior.

Personally, it is not suggested for you to disable the logging feature, in case of lacking needed logs to analyze issues in the future. Deleting log files regularly as you mentioned should be the best workaround for your situation right now. For more information, please check: Exchange Logging: Clearing Log files.

Hope these could help.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AdamTyler-3751,
Just checking in to see if above information was helpful. If you have any further updates on this issue, please feel free to post back.

0 Votes 0 ·