Eventlog In Java

Windows 2000 Eventlog

Page 1 of 1

4 Replies - 9335 Views - Last Post: 21 January 2005 - 09:50 AM Rate Topic: -----

#1 Back2Home  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 21-January 05

Eventlog In Java

Posted 21 January 2005 - 03:10 AM

Hi !

I am looking for mapping parallel to ' System.Diagnostics.EventLog' (C#)
for loggin windows 2000 events, in Java.

I any way to achieve this (other than JNI ) ?
I mean third party/opensources, if known to anybody ?

Regards,
Is This A Good Question/Topic? 0
  • +

Replies To: Eventlog In Java

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Eventlog In Java

Posted 21 January 2005 - 06:09 AM

Click here for a look at Syslog, it may be what you're looking for. A link to the project page is at the bottom of the page I posted, it's on sourceforge.
Was This Post Helpful? 0
  • +
  • -

#3 Back2Home  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 21-January 05

Re: Eventlog In Java

Posted 21 January 2005 - 08:01 AM

Amadeus, on Jan 21 2005, 06:09 AM, said:

Click here for a look at Syslog, it may be what you're looking for. A link to the project page is at the bottom of the page I posted, it's on sourceforge.

Hi Amadeus,
Thanks for the useful link.

I wil take little time to go through the link and digest it all.

Thanks a lot.

Regards,
Was This Post Helpful? 0
  • +
  • -

#4 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1868
  • View blog
  • Posts: 20,280
  • Joined: 17-March 01

Re: Eventlog In Java

Posted 21 January 2005 - 08:45 AM

Hi Back2Home, glad Amadeus was able to help you... just wanted to welcome you to dream.in.code!!!
Was This Post Helpful? 0
  • +
  • -

#5 stdunbar  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 9
  • Joined: 17-December 04

Re: Eventlog In Java

Posted 21 January 2005 - 09:50 AM

The most common logging package for Java is log4j. Included as part of that is a NTEventLogger. The advantage of log4j is that you can log to multiple places and change the behavior of the log externally - through an XML configuration file. If you also want to log to a file or via JDBC or whatever your code never changes - only the config file.

Many people wrap log4j with the Apache Commons Logging. This allows additional flexibility though it may add complexity that you don't need.

This post has been edited by stdunbar: 21 January 2005 - 09:51 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1