On Sep 20, 2010, at 1:22 PM, David Gerler wrote:

> We are using the Date rollover style for our logs. The thing we don’t like is 
> the fact that it appends the date to the end of the filename like 
> “root.txt20100920”. We’d like to have it insert the date in the middle like 
> “root20100920.txt”. Is that possible?
>  
> I have searched the documentation and can’t seem to find anything. I also 
> tried inserting [%date] in the filename in the config file, but that didn’t 
> work.

Looking at the code in repository for the RollingFileAppender there appears to 
be a property called PreserveLogFileNameExtension which ay do what you want.

Reply via email to