Hi, 

I have a simple subclass of RollingFileAppender which works successfully
using log4j1.2.X but has never previously worked with 1.3 code.  

Using the log4j1.3 alpha 8 code my custom subclass of the RFA wrapper now
compiles (after the replacement of direct property access with getter method
access!) :-)

I have created a patch
(http://issues.apache.org/bugzilla/show_bug.cgi?id=38411) to the
RollingFileAppender wrapper which restores the ability to set several
properties via config file.  

There are a few other public methods which were present in 1.2 RFA but which
were not settable from config and could have only been called from
programmatic configuration or subclass invocation:

public void append(LoggingEvent event)
public final Filter getFirstFilter()
public boolean isAsSevereAsThreshold(final Priority level)
public synchronized void setWriter(Writer writer)

If required these methods could also be implemented in the wrapper to
preserve compatibility.  

Regards

Andy



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

Reply via email to