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,
Eventlog In JavaWindows 2000 Eventlog
Page 1 of 1
4 Replies - 8470 Views - Last Post: 21 January 2005 - 09:50 AM
Replies To: Eventlog In Java
#2
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.
#3
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,
#4
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!!!
#5
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.
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
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|