How can I best prevent these libraries from flooding my own apps log4j bus? I do not want to set everything to ERROR, but at this rate the vendor library is flooding up the log file at a rate of about a gig/day. I do not want it to log anything to this file…
Share
As suggested by Jon Skeet´s answer, you should configure log4j to ignore the classes from the vendor library. Usually there is a file named
log4j.xmlthat one can put the package names and the threshold category to print like this:Take a look at the manual for details.