Is there a way to set the fileName prefix for the rolled over file?
I use date for log files, i.e: 21-06-2017.log And have set the max file size to 10MB. So when the file size reaches 10MB, rollover is performed and the current file is renamed to 21-06-2017.log.1 and so on...
I have a process which reads the files with extension .log and render it on UI
Also I'm using properties file and change the fileName programatically when my Spring loads.
Any idea how this can be achieved?
[EDIT]
Even if the RolledOver files are named as 21-06-2017_1.log, that would be fine. Also any type of prefix is acceptable, the only end criteria is that the file name should end with ".log"