"Why not just add org.jboss=WARN" Where do I put this in the config file?
Here's the console appender that I have.... <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="System.out"/> <!-- CHANGE "Value" to debug, info, warn, etc...--> <param name="Threshold" value="debug"/> <layout class="org.apache.log4j.PatternLayout"> <!-- The default pattern: Date Priority [Category] Message\n --> <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> </layout> <filter class="com.shawmut.it.util.log4j.filter.PassThrough"/> </appender> Russ... -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 9:53 AM To: Log4J Users List Subject: RE: Custom Filter Question Howdy, >cluttered. So I only want to see debug statements that involve the >classes that I have written. I'll eventually turn the filter off in >production. Why not just add org.jboss=WARN to your configuration file so that only messages at WARN level or higher show up from the org.jboss classes? Your classes will still output at DEBUG level. There are many ways to address this issue that come built-in to log4j, without you needing to write any custom code. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]