prateekm commented on a change in pull request #1047: SAMZA-2210: Initial
majority migration for injecting classloader when doing reflection
URL: https://github.com/apache/samza/pull/1047#discussion_r290038904
##########
File path:
samza-log4j/src/main/java/org/apache/samza/logging/log4j/StreamAppender.java
##########
@@ -300,7 +300,8 @@ protected void setupSystem() {
String systemFactoryName = log4jSystemConfig.getSystemFactory(systemName)
.orElseThrow(() -> new SamzaException(
"Could not figure out \"" + systemName + "\" system factory for
log4j StreamAppender to use"));
- SystemFactory systemFactory = Util.getObj(systemFactoryName,
SystemFactory.class);
+ SystemFactory systemFactory =
Review comment:
Is this the framework classloader? What classloader is the StreamAppender
created with? I think this should use the plugin classloader, right?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services