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?

Regards
Milind

-- 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to