-
Notifications
You must be signed in to change notification settings - Fork 7
Issue 52684: Update Log4j plugin registration #6708
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
Conversation
{ | ||
List<String> args = new ArrayList<>(); | ||
args.add(System.getProperty("java.home") + "/bin/java" + (SystemUtils.IS_OS_WINDOWS ? ".exe" : "")); | ||
File labkeyBootstrap = new File(new File(new File(System.getProperty("catalina.home")), "lib"), "labkeyBootstrap.jar"); | ||
File servletApi = null; | ||
File labkeyBootstrap = new File(new File(System.getProperty("catalina.home")), "labkeyBootstrap.jar"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused by this change. Seems like labkeyBootstrap.jar
is still in a lib
directory, or am I looking in the wrong place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have more clarity after our chat.
Rationale
Log4J deprecated the approach we were using for plugin registration and started complaining about conflicting buffering configuration. Since we need to refactor how Log4J gets onto the class path, we can use this as an opportunity to share more extraction code with our tests.
Related Pull Requests
Changes
EmbeddedExtractor
code through reflection