[logback-user] Log data encryption in RollingFileAppender?
ceki at qos.ch
Thu Feb 17 13:00:24 CET 2011
FileAppender delegates the writing to an encoder  of your choice. You
should be able fairly easily decorate the OutputStream given to the
encoder with encryption.
Shout if you need more details,
On 17.02.2011 11:12, Silvano Maffeis wrote:
> I've been looking at the sources of RollingFileAppender,
> ResilientFileOutputStream, etc. as I'm trying to find
> a way which allows me to encrypt the log messages before they get
> written to the underlying file. Still I want
> to be able to rotate the log files.
> Any ideas how this can be done elegantly in the current logback framework?
More information about the Logback-user