Log Rotation with Date & Timstamp for Rotated File
First thing am sorry if am Duplicating this thread with an existing thread.
I have set Log Rotation for my tomcat.out files to be rotated, please find the script set in logrotate.d folder.
The Script works fine, however when it rotates it makes filename.out.1 and so on. Is there a way i can change that Rotated filename to filename.date/timestamp?
Thanks in Advance!