Groups | Blog | Home
all groups > dotnet framework > december 2004 >

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


Dave Boal
12/7/2004 4:19:02 PM
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

Richard Grimes [MVP]
12/20/2004 9:14:46 PM
[quoted text, click to view]

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
--
..NET training, development, consulting and mentoring
www.richardgrimes.com
my email evpuneqt@zicf.bet is encrypted with ROT13 (www.rot13.org)

AddThis Social Bookmark Button