Svet Svet - 2 months ago 40
Java Question

How to Write from Java to the Windows Event Log?

What program can I use to write from Java to the Windows Event Log?

Answer

Log4J is a Java-based logging utility. The class NTEventLogAppender can be used to "append to the NT event log system". See the documentation here:

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/nt/NTEventLogAppender.html

Edit: There is a newer version, Log4j 2 "that provides significant improvements over its predecessor."

Comments