Can I, in code, set the Log Size properties of Custom Event Logs?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Or must the properties of the Custom Event Log be set in the Windows Event
Log viewer?

The properties I want to control are:
1. Max Log Size
2. Overwrite events as needed
 
Dave said:
Or must the properties of the Custom Event Log be set in the Windows
Event Log viewer?

The properties I want to control are:
1. Max Log Size
2. Overwrite events as needed

These are settings in the registry, so you can set them in code. Note that
in Whidbey there is a property to do this. Finally, in Whidbey, they've
actually got someone who knows about the Event Log to work on the code!

Richard
 
Back
Top