Solved

Exchange 2010 Circular Logging

Posted on 2013-01-25
5
1,381 Views
Last Modified: 2013-01-28
If circular logging is enabled how long before logs are flushed and at what limits. Is there a way to set a limit size like anything above 100mb for example?
0
Comment
Question by:CiscoAzn
5 Comments
 
LVL 20

Assisted Solution

by:agonza07
agonza07 earned 250 total points
ID: 38821378
There doesnt seem to be any options on limiting the size of the log. It sorta makes a reference to keeping one log, which the previous paragraphs states is only 1MB for regular logging, so it might be limited to 1MB, or to how fast the server can commit the transactions.

http://blog.mattsampson.net/index.php/circular_logging_exchange_2010?blog=1

Although it is not recommend it as a best practice, you can configure Exchange to save disk space by enabling circular logging. Circular logging allows Exchange to overwrite transaction log files after the data that the log files contain has been committed to the database.  


http://technet.microsoft.com/en-us/library/bb331958(v=exchg.141).aspx

In Exchange 2010, circular logging is disabled by default. By enabling it, you reduce drive storage space requirements. However, without a complete set of transaction log files, you can’t recover any data more recent than the last full backup. Therefore, in a normal production environment, circular logging isn’t recommended.

In the standard transaction logging used by Exchange 2010, each database transaction is written to a log file and then to the database. When a log file reaches one megabyte in size, it’s renamed and a new log file is created. Over time, this results in a set of log files. If Exchange stops unexpectedly, you can recover the transactions by replaying the data from these log files into the database. Circular logging overwrites and reuses the first log file after the data it contains has been written to the database.
0
 

Expert Comment

by:luddiemey
ID: 38821464
If i remember correctly, after you've made a full backup of the exchange, it will start purging the transaction logs
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 38821693
After turning on circular logging, the logs will start to flush out a few minutes later. You will need to dismount and remount the database for the change to take effect. Depending on how many logs there are will depend on how long they take to remove.

Ideally doing a backup of the Exchange database is the best way to reduce the logs.

Simon.
0
 
LVL 5

Accepted Solution

by:
Shibu Kuttan earned 250 total points
ID: 38822106
There is no way to limit the log file to 100MB.

If you enable circular logging, once the log file is committed to database the log file should be cleared

The recommended way to save the disk space is disable the circular logging and scheduled the Exchange full backup in off business hours. Once the exchange backup is done it will cleared the transition log files.  So you can save the disk space also get the exchange backup.
0
 

Author Closing Comment

by:CiscoAzn
ID: 38827811
For Exchange 2010 there's no need to dismount/mount the DB after turning on/off circular logging.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question