I have written a wlst script to change the log file rotation strategy from BySize to ByTime which works correctly but the names of the rotated files are still fileName.log000n where n is a number.
I would like to have a datestamp in the rotated filenames instead. I didn’t find any way to do this. Neither from the admin console nor with wlst.
Any suggestions ?
It is possible to set the timestamp in the name of the file.
From http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13952/taskhelp/logging/RotateLogFiles.html