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 Ceki Gülcü <ce...@qos.ch> on 2005/02/18 21:30:11 UTC
Use ComponentBase.getNonFloodingLogger
In 1.3alpha, some appenders in an erroneous state, may attempt to log from
within their doAppend method. This just produces superfluous error messages
on other appenders. To prevent this situation, appenders as well as other
components should use a getNonFloodingLogger() to log error conditions from
their methods exercised frequently. Initialization code, i.e. infrequently
exercised code, can continue to retrieve logger instances by simply
invoking getLogger().
--
Ceki Gülcü
The complete log4j manual: http://www.qos.ch/log4j/
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org