Extend Log4j2 Tests

I have a wrapper for log4j2 Logger class – e.g. import org.apache.logging.log4j.core.Logger; public class MyLogger extends Logger { protected MyLogger(LoggerContext context, String name, …

Log4j printing to console twice

Before with one class, logging was working well, but after I added 2nd Java class, it is logging twice in this second class. Can anyone help me, how to make it log only once. The problem seems to be …