You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Endre Stølsvik <En...@Stolsvik.com> on 2002/03/04 13:13:47 UTC

Re: Making object rendering more extensible

On Tue, 26 Feb 2002 qding@csc.com wrote:

| I use two appenders: one ConsoleAppender and the other JMSAppender
|
| log4j.rootCategory=DEBUG, A1,A2
| log4j.appender.A1=org.apache.log4j.net.JMSAppender
| .....
| log4j.appender.A2=org.apache.log4j.ConsoleAppender
| .....
|
| Right now, as I understand, the priority for both appender is Debug.  How
| can I set JMSAppender's priority = Error, and ConsoleAppender's priority =
| DEBUG
| Is there a way?

I also wonder about this, but not enirely in the same context.

This because I would like two log files, one for "production logging", and
one which I can turn up and down in debugging. A real "trash file", kind
of..

The thing I'm doing now is to use two loggers.. One for "tracing", and a
couple of others for "production logging".. This is not the best
solution..

-- 
Mvh,
Endre


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