You can raise the priority of the specific class: <category name="com.x.mynoisyclass" additivity="false"> <priority value="ERROR"/> </category>
//Nicholas --- "Pitre, Russell" <[EMAIL PROTECTED]> wrote: > Does anyone know how I can EXCLUDE a certain class > from being logged to > the console appender. This class logs a "ping" > message every 5 seconds > and I don't want to see the messages on the console > during development. > > > > > > > Any help is greatly appreciated... > > > > <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="info"/> > > > > <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> > > </appender> > > > > > > Thanx Russ- > > > > > > > > > > ===== Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 [EMAIL PROTECTED] Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user