Jan-Olof Sivtoft wrote:

Hi

The project Im working with want to encrypt the log file. It also want
to use RollingFileAppender. My intention was to extend
RollingFileAppender and change the creation of FileOutputStream to
ChiperOutputStream and override setFile in FileAppender to do the same
and so on, but RollingFileAppender is final (Im using log4j 1.3alpha-8)
. So I have been thinking and looking around to find out a workaround
without any success.

So my question is: Anybody got any experience or any ideas how to solve
this?
Don't you have (open) sources?
So simply change the visibility of RollingFileAppender.
Of course if you change of version later, you will have to make a new modifications
but this should not be a major problem.

Bye,

Xavier.


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

Reply via email to