Partager via


Change the maximum event log size

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To change the maximum event log size

  1. Open Event Viewer.

  2. In the console tree, click the log you want to change.

  3. On the Action menu, click Properties.

  4. On the General tab, in Maximum log size, specify the new log size in kilobytes.

  5. To put the new setting in effect, click Clear Log.

    If you want to retain the information currently in the log, click Yes when a message appears asking if you want to save the original log before clearing it, and then click OK.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To open Event Viewer, click Start, click Control Panel, double-click Administrative Tools, and then double-click Event Viewer.

  • For more information about event log settings, see Understanding event logging options in Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Understanding event logging options
Reset an event log to default settings
Set event logging options
Filter events
Specify a sort order in an event log
Event Viewer overview