java - Exclude some classes from being logged in EMAIL appender in log4j -


i using properties file configuration log4j.

log4j.rootlogger=info, a1, email log4j.appender.email.threshold = error 

i created email appender errors sent email. there exception occures on 60000 times day , exclude logging.i added line :

log4j.logger.java.lang.illegalstateexception=off 

but still getting logged. there other way of excluding it, maybe filters ?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -