Changing How Event Log Overruns are Handled
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:
- 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.)
- In the Navigation pane (left side of the Event Viewer), expand the Windows Logs node and click on System.
- In the right pane, click Properties. Windows displays the Log Properties dialog box for the System event log. (See Figure 1.)
Figure 1. Changing how log overruns are handled.
- 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.
- 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.
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." Learn more about Barry...
Changing an Account's Picture
You may want to customize your account so that it uses a picture of your own choosing. This tip tells you how to change ...
Discover More
Removing Locations from the Search Index
You can fine-tune Indexed Searches by removing locations from the search index. This tip tells you how.
Discover More
Using Robocopy with File Sizes and Ages
Robocopy is a robust file copy utility built into Windows. The various switches built into the program provide very ...
Discover More
Creating a Custom View in the Event Viewer
Creating a custom view in the Event Viewer allows you quick access to those events you're interested in watching over ...
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