Writing to the Windows Event Log in Java
Posted on 2010-08-15
I am designing a Java based utility which will run only on Windows servers. Our corporate Support tool is, I'm told, really good at monitoring the Windows Event Log and I was asked that if possible, I have this Java utility write to the event log in case of errors, and indeed, completely as a good log that is monitored. However, given this is Java which doesn't know about Windows as such, I'm wondering whether there is a reasonably simple and straightforward way to write to the Windows Event Log from a Java program. Kind of defeats the purpose of Java really but I was asked to look into it. Thanks.