replace DailyRollingFileAppender with RollingFileAppender in order to be able to configure MaxFileSize and MaxBackupIndex.