You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Fong Vang <su...@gmail.com> on 2005/09/27 23:24:20 UTC

log4j renaming extension on RollingFileAppender

When using RollingFileAppender, is it possible configure log4j to
automatically rename the extension of a file?

For example, instead of calling it "mylog.txt.1", it should name it "
mylog.log.1". This is a requirement to allow a remote log transfer agent to
pickup.

Any help is appreciated.