logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Fallback Error Handler
Date Wed, 17 Dec 2003 13:22:29 GMT
Hello Milind,

FallbackErrorHandler was not designed/intended to be sub-classed. Hence, 
the private accessor. If you think there is value in sub-classing 
FallbackErrorHandler we can certainly accomodate your wish. A patch would 
be handy!

I hope this answers your question,

At 06:32 PM 12/17/2003 +0550, Milind Rao wrote:
>I need to access the backup appender in the fallback error handler of a 
>primary appender, but there is no method to
>access it and the appender is package private.  I have subclassed the 
>FallbackErrorHandler class to redefine the
>setBackupAppender method and added a getBackupAppender method.
>But I was curious as to why there isn't a public accessor.  Is what I'm 
>doing not advisable?

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  

To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

View raw message