How to handle “org/apache/log4j/Level” class used in 3rd-party jar when using log4j2?
As we know, org/apache/log4j/Level is a log4j api, but not log4j2. But in my case,hadoop-mapreduce-client-core-2.7.2 jar used Level class in its static code. So it will give a ClassNotFound exception if I use log4j2. Anyway to handle this?
You can use the Log4j 1.x bridge. For more information, See Migrating from Log4j 1.x.
slf4j-log4j bridge with log4j 2.8.1
logging to ELK stack from karaf
Changing Log4J configuration in Tibco BW/Designer does not have the desired effect
Write to SYSLOG with RootLogger OFF
How to write separate log files for each error transactions in Java using log4j
log4j on jboss - subpackage level
converting log4j into log4j2. With RollingFileAppender, size and file name pattern
Log4j NoSQL/Mongo appender in Tibco BusinessWorks 5
jcl104-over-slf4j version 1.4.2 is safe to be replaced by jcl-over-slf4j 1.7.2
Log4j2 main ERROR AmazonRollingRandomAccessFile contains an invalid element or attribute
Is it possible to set an SMTP header in SMTPAppender?
log4j rotate and compress files
Log4J 2 failing to configure
log4j not writing logs to a file
Log4J : Console Error in log4j.xml
log4j is not creating .gz file