views:

634

answers:

2

I'm adding windows event logging functionality to an existing Java application and I'd like to utilize event ids(our admin is using them already). Is there a way to specify the event ID when logging with NTEventLogAppender?

+1  A: 

From my research so far it seems like there's no way to modify the event ID from the default 4096.

Svet
A: 

Check out log4jna. It's a replacement for log4j NTEventLogAppender. It doesn't do what you want right now, but it's "this close". If you still need this, we can work on implementing it.

dblock