Manipulating the repository threshold might accomplish what you are trying to do. Every event is evaluated relative to the repository threshold before being evaluated against logger and appender thresholds. If you set the repository threshold to "info" but set the loggers and appenders to "debug", only "info" and higher messages will be processed until the threshold is lowered to "debug".

The repository threshold can be specified in a configuration file:

<log4j:configuration threshold="info"...>

or

log4j.threshold=info

or by code:

logger.getLoggerRepository().setThreshold(Level.DEBUG);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to