Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLASS Not found #41

Open
gregbek opened this issue Oct 4, 2017 · 4 comments
Open

CLASS Not found #41

gregbek opened this issue Oct 4, 2017 · 4 comments
Labels

Comments

@gregbek
Copy link

gregbek commented Oct 4, 2017

Set up instructions need to be amended.

I was getting the following message when starting my application:
Thread-0 ERROR Error processing element Win32EventLog (Appenders: null): CLASS_NOT_FOUND

When using log4j2 XML configuration the "packages" attribute of the top level "Configuration" element is a comma separated list of packages to search for Log4j add-ins. So it needs to read:

<Configuration status="ERROR" pacakges="your.add.in.package.name, org.dblock.log4jna.nt">
....
</Configuration>
@dblock
Copy link
Owner

dblock commented Oct 5, 2017

Please PR

@dblock dblock added the bug? label Oct 5, 2017
@gregbek
Copy link
Author

gregbek commented Oct 5, 2017 via email

@dblock
Copy link
Owner

dblock commented Oct 5, 2017

Pull Request, see https://github.com/dblock/log4jna/blob/master/CONTRIBUTING.md. Thanks!

@dblock
Copy link
Owner

dblock commented Jul 18, 2018

Care to contribute to the docs @gregbek ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants