You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Jung, Eric (Contractor)" <ej...@russellmellon.com> on 2002/10/24 17:55:50 UTC

RE: enabling ConsoleAppender DEBUG for specific Logger via log4j. xml

<log4j:configuration>
.
.
.
  <logger name="org.jboss">
    <priority value="error"/> <!-- log only error and above -->
  </logger>
.
.
.
</log4j:configuration>
-----Original Message-----
From: Glen Cordrey [mailto:gcordrey@convera.com]
Sent: Thursday, October 24, 2002 11:53 AM
To: log4j-user@jakarta.apache.org
Subject: enabling ConsoleAppender DEBUG for specific Logger via
log4j.xml


What do I need to do in log4j.xml to enable debug messages to the console
appender
for a Logger I get via org.jboss.logging.Logger.getLogger( "MyLogger" )?
If in the xml for the console appender I have Threshold="DEBUG" I get my
debug messages
but am also swamped by JBoss housekeeping debug messages, so I want to not
get the
JBoss debug messages.
 
Glen Cordrey                  Convera              
voice: (410) 740-8800 x1150    www.convera.com <http://www.convera.com/> 
fax:    (410) 740-8810
 
 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>