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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -