EventLog Problem

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

Guest

Recently, I need to get the windows eventlog to do some validatio
I use the method geteventlogs to get all logs event. ( an array will be generated

I use for loop to read each record and get the target record with specified event ID
howerver, the process is very slow when getting large amount of event logs and read it looply

So, Any suggestion? Thank You
 
LaLaBoy said:
Recently, I need to get the windows eventlog to do some validation
I use the method geteventlogs to get all logs event. ( an array will be generated)

I use for loop to read each record and get the target record with specified event ID!
howerver, the process is very slow when getting large amount of event logs and read it looply.

So, Any suggestion? Thank You

What exactly are you trying to do?
- read all entries?
- find a particular entry? (by what characteristics?)

Hans Kesting
 
Back
Top