EventLog Problem

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
 
H

Hans Kesting

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top