rmetzger commented on pull request #14678:
URL: https://github.com/apache/flink/pull/14678#issuecomment-771681310


   I noticed one issue during my manual review: When using a logger in the 
factory (loaded via the plugin mechanism), log4j will create a new log file. 
This is most likely caused by the separate classloader, which makes log4j 
believe it hasn't been initialized yet.
   To resolve this issue, I added the following to the Flink conf: 
`plugin.classloader.parent-first-patterns.additional: org.slf4j`.
   
   @HuangZhenQiu did you observe a similar behavior in your tests? If we both 
ran into this, we should mention this in the docs for the users.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to