Make dateFile appender can keep the number of log files