By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,680 Members | 2,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,680 IT Pros & Developers. It's quick & easy.

System.Diagnostics.EventLog Safe Clearing of the logs

P: n/a
Can anyone give me a couple pointers on safely clearing the logs? We have an
extremely active environment and I am worried that even after I dump all the
entries a dozen or so new ones will be created before I can call the Clear
method. If this happens I am guessing that I will throw away any entries
that get created between the time my dump process finishes and the time I
call Clear. How can I safely clear only those entries that I know I have
processed? I was hoping I could clear only up to a praticular index rather
than clearing the entire thing.

Thanks!
Oct 24 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.