January 09, 2000 07:09 PM

How do I enable circular logging for Active Directory?

Rating: (0)
Windows IT Pro
InstantDoc ID #13403

A. Active Directory (AD) can record sequential or circular logs. The default logging method is sequential. Sequential log files aren’t overwritten with new data. These files grow until they reach a specified size. After all the transactions in a log file are committed to the database, the log file is unnecessary. AD’s garbage-collection process deletes unnecessary log files every 12 hours by default. If your server doesn’t stay up longer than 12 hours between reboots, AD can’t clean up old log files. Eventually, the files will use all your available disk space.

Circular logs overwrite transactions at specific intervals. Some administrators prefer circular logging because this method helps minimize the amount of logged data the physical disk must store. To enable circular logging, you need to edit the Registry.

  1. Start regedt32.
  2. Go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters Registry entry.
  3. If the value CircularLogging doesn’t exist, select New, String value from the Edit menu and enter
    CircularLogging
  4. Double-click CircularLogging, and set the value to 1 to enable circular logging. (Setting the value to 0 disables circular logging and enables sequential log files).
  5. Close the Registry editor.
  6. Reboot the machine to restart the Directory Service (DS) and make the change effective.

ARTICLE TOOLS

Add a Comment

There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

eBooks

Playbook for a Virtualized Datacenter | During challenging times, optimizing the IT infrastructure becomes imperative. Many organizations are looking to extend their virtualization efforts to encompass the entire datacenter. Get a step-through of your technology options and more.

White Papers

As the advances in USB devices have made them invaluable to most business users’, they have also exposed organizations to enormous risks. Learn how to easily enforce device/port control and data encryption policies without requiring new infrastructure and additional admin overhead.

WEB SEMINARS

Is Flexible Lockdown Possible? Join Darren Mar-Elia for this free web webinar exploring the various methods you should consider to protect and control your desktops while also understanding the impact on the end user community.
View Seminar On-Demand.

eLearning Series

Windows IT Pro brings the experts direct to you to share their real-world perspective, experience, and expertise. During each event, three sessions stream in real time, allowing you to learn, to ask questions, and to get solutions.
Upcoming event: SQL Server Consolidation

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.