victorio
victorio

Reputation: 6646

Windows event logging with log4j2 in Java

I cannot find any good example about how to do windows event logging with log4j2.

Is it possible? My application can do it with log4j 1, but I want to upgrade to log4j2. And I need windows event logging also.

Any help or example would be great. Thanks!

Upvotes: 2

Views: 3440

Answers (1)

victorio
victorio

Reputation: 6646

The answer is: log4jna

And it works just perfectly.

https://github.com/dblock/log4jna

Upvotes: 1

Related Questions