• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to read windows event logs using java.  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to read windows event logs. Is there any API available to work as listener on windows event log for a particular event.
 
Saloon Keeper
Posts: 7994
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Beula, welcome to CodeRanch.

You will need to write a program in native code that does this, and then access the code through JNI or JNA. I believe Microsoft provides a way to access the event log through .NET. Do a search for the EventLog type.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!