Manage Event Logs
Applies To: Windows Server 2008, Windows Vista
You can use Event Viewer to manage various aspects of your event logs. To do so, you typically: navigate to and select the event log to manage, right-click and select Properties to access its properties dialog, and then update the appropriate values.
You can perform the following log management tasks by using Event Viewer:
Clear an Event Log
Set Maximum Log Size
Set Log Retention Policy
Enable Analytic and Debug Logs
Archive an Event Log
You can also use the wevtutil.exe command line tool to manage your event logs. Where applicable, the preceding topics include information about how to accomplish the task from the command line. To learn more about the wevtutil.exe command-line tool, type wevtutil /? at a command prompt.