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

Introduce Nashorn integration test #251

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

ppkarwasz
Copy link
Contributor

Introduces an integration test that uses:

  • Log4j Core with a ScriptFilter,
  • Nashorn as scripting engine. Nashorn uses java.util.logging to log debug information.
  • JUL-to-Log4j API bridge to forward Nashorn logging to Log4j Core.

The purpose of this test is to check for unintentional initialization loops between Log4j Core and Nashorn, as those reported in apache/logging-log4j2#3119.

Introduces an integration test that uses:

- Log4j Core with a `ScriptFilter`,
- Nashorn as scripting engine. Nashorn uses `java.util.logging` to log debug information.
- JUL-to-Log4j API bridge to forward Nashorn logging to Log4j Core.

The purpose of this test is to check for unintentional initialization loops between Log4j Core and Nashorn, as those reported in apache/logging-log4j2#3119.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant