Changing How Event Log Overruns are Handled

Written by Barry Dysert (last updated June 1, 2020)

The system's event logs don't grow forever. By default, when they hit their maximum allowable size Windows deletes the oldest log file entries and continue to write new ones. You can change this default behavior if you wish.

For example, let's say that I want to change how the System event log's overruns are handled. I can do so by following these steps:

  1. Display the Event Viewer. (The easiest way to do this is to use the search capabilities of Windows to look for "Event Viewer", without the quote marks.)
  2. In the Navigation pane (left side of the Event Viewer), expand the Windows Logs node and click on System.
  3. In the right pane, click Properties. Windows displays the Log Properties dialog box for the System event log. (See Figure 1.)
  4. Figure 1. Changing how log overruns are handled.

  5. Using the three radio buttons at the bottom of the dialog box, specify what you want to happen when the maximum log file size is reached.
  6. Click OK.

The three options for handling large log files may need a bit of explaining. Windows provides these options:

  • Overwrite Events as Needed. This is the default behavior, i.e., the oldest events are deleted to make room for the new events.
  • Archive the Log when Full. The event log is automatically archived and a new one is created. No events are lost. This is a good choice if you think that there may be some events occur on your system which result in a rapid escalation in the number of events being logged.
  • Do Not Overwrite Events. The event log is cleared, and new ones get written to the empty log file. It is unclear how this choice could ever be desirable, but there you have it.

 This tip (12749) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Differences between Hibernate and Sleep

If you want to conserve energy or preserve your laptop's battery life, you should know about hibernate and sleep. There ...

Discover More

Everything

If you want to be able to find any file on your hard disk in just seconds, Everything is a utility you'll find ...

Discover More

Using the Findstr Command

Finding data within files is a common need. If what you're looking for is in a flat file, you can find what you're after ...

Discover More
More WindowsTips

Tracking Down Who Installed or Removed a Program or App

Managing a computer system can often involve a good deal of detective work. This tip looks at how you can use your ...

Discover More

Understanding Event Logs

Windows event logs are great resources to see what is "invisibly" going on with your system. By understanding the various ...

Discover More

Filtering Event Logs

Filtering a log in the Event Viewer allows you quick access to those events you're interested in watching over time. This ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips