log4j


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.

Related Links

TIBCO MDM 9 : log4j:WARN No appenders could be found for logger (RulebaseCustomFunction)
Log4J DailyRollingFileAppender file name
How to configure JDBCAppender programmatically
how to use markerfilter with old log4j
How to setup log rotation in AEM web console?
Websphere 8.5.3, SLF4j Log4j, Multiple EARs, multiple log files not generating
How to configure logging level for JAWR using log4j.xml
In which classes we are not using Log4J
log4j - why am I getting this ludicrous amount of DEBUG even if there's no log4j.properties?
log4j 2.5 Rolling file appender does not release lock on files with Delete feature
configure log4j in dockerfile
No logs when tomcat is stopped
log4j doesn't print preparestatement sql log
Running a web application on Tomcat through Windows service
How can I assign a variable to a logger at log4j
Programmatically creating a Log4j 1.x Appender for specific Category

Categories

HOME
yii2
cloud
magnific-popup
activiti
iterator
jira
yahoo-oauth
google-oauth
icloud
callback
ckeditor
cross-browser
php-7.1
orchardcms
ibm-odm
try-catch
ghc
finite-automata
footer
pugjs
contextmenu
crystal-reports-2008
firefox-webextensions
xlsxwriter
cloudhub
excel-2007
realex-payments-api
restful-authentication
blazemeter
tdd
django-storage
status
chromebook
brunch
windows-server-2000
nameservers
typed.js
openoffice.org
wallpaper
picasso
swisscomdev
x11-forwarding
libvpx
uft-api
graphenedb
mesos-chronos
android-tabhost
sfdc
estimote
segment
executenonquery
azure-application-gateway
youcompleteme
chain-builder
apache-fop
blogengine.net
qtwebview
or-tools
time-and-attendance
abcpdf9
firmata
dstu2-fhir
intrusion-detection
impresspages
flash-cs5
fadeout
oauth2client
ptrace
cloudbees
phpcas
uid
intel-fortran
icu4j
iis-arr
kcachegrind
mono-embedding
sankey-diagram
operation
truevault
network-interface
winddk
mdt
reactfx
dealloc
resty-gwt
java.nio.file
html5-notifications
gnu-smalltalk
mysqltuner
cdc
batterylevel
xamlparseexception
plasma
hamiltonian-cycle
mt
quickdialog
viewswitcher
php-parser
gnu-prolog
window-management
imac
telerik-scheduler
blitz++
suppress
sustainable-pace
aquaticprime
data-acquisition
.net-1.0
signal-handling

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App