Juszeil Conception

Juszeil Conception

  • 主 頁
  • 部 落 格
  • 相 簿
  • 關 於
  • 更 新 資 訊
  • 網站地圖

«2016 - 10»
日一二三四五六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODAY

Hide Banner | LOGIN
2023-3-21 |

BLOG 部落格

Total found 1 articles on 2016-10-17.

銵 2016-10-17 9:09:11

Exchange 2013/16 - Circular Logging

Problem

Let's be clear about this, the correct way to flush/clear the Exchange logs is to perform a backup of the mailbox database in question, with an 'Exchange aware' piece of backup software. This will clear down the logs properly.

Why Do We Need Logs?

Well I'm glad you asked, if there's a problem, and we lose the database, we can 'play' the log files back into the database to restore any messages that were 'lost' e.g. because you restored from a backup taken at 22:00 hours last night, and it's now 10:00 hours the following morning. The logs let us get the email that came in after the backup had finished. This is why after a successful backup the logs are usually cleared.

Stop Waffling My Servers Down!

OK so you put your log files on a system drive? It's filled up with logs, and taken the server down. Either because you're a doofus, or you are doing an Exchange migration, and now theres a ton of logs, and you didn't follow my Exchange 2016 Migration Walkthrough.

 

Solution

Luckily I've caught this one early! (There's an Exchange 2012 to 2016 migration going on, hence the large amount of space taken by Exchange log files).

001 - Exchange Log Folder Full

Enable Exchange 2016 / 2013 Circular Logging from EAC

From within the Exchange Admin Center > Servers  > Databases > Select your Mailbox DB > Edit > Maintenance > Enable Circular Logging > Save.

002 - Exchange EAC Enable Circular Logging

Then you need to restart the 'Microsoft Exchange Information Store' service, (run services.msc).

Restart Exchange Information Store

Enable Exchange 2016 / 2013 Circular Logging from EAC

Run the following commands;

Set-MailboxDatabase {Database-Name} -CircularLoggingEnabled $True
net stop "Microsoft Exchange Information Store"

net start "Microsoft Exchange Information Store"

005 - Exchange 2016 Enable Circular Logging

Note: To disable it again.

Set-MailboxDatabase {Database-Name} -CircularLoggingEnabled $False
net stop "Microsoft Exchange Information Store"

net start "Microsoft Exchange Information Store"

Now things should look a bit tidier.

004 - Flush Exchange Logs

Don't Forget: Logging is a good thing TURN IT BACK ON!


Relate Post : Exchange 2013 - DAG Cluster tunning 摰鋆 Office Web Apps Server 2013 (OWA) Exchange 2010 - DAG CAS Array Exchange 2013 - OAB not publishing Exchange 2013 - Reset user password in ECP Exchange 2010 to Exchange 2013 Migration Exchange 2013 - Client Access Server High Availability Exchange2013/16 - Offline Address Book Troubleshooting Exchange 2013 - Migration Outlook Anywhere Proxy Issues Exchange 2013 - Add An Administrator
Comments :
No Comments

Post your comment:


Post your comment by Guest :
Verify Code :


Back To Top

Find Me

Powered By 2013-2015 ©. Juszeil Conception version 2.0
Queries Executed : 0.0151 seconds