please check the below script where I have to rotate the file for 30 days and its moved into the backup directory after rotation. So as I have used rotate 30 and maxage 30, when the logrotation happens for the 31st day will the oldest file which is 30 days older get deleted..?/data_gpfs/engageone/active-drive/E-Archive/SystemData/logrotation_test/test.log {        daily        copytruncate        create 775 root wsdepl        dateext     dateformat .%Y.%m.%d        rotate 30     maxage 30        missingok        #notifempty        sharedscripts        postrotate           cd /data_gpfs/engageone/active-drive/E-Archive/SystemData/logrotation_test           gzip test.log.*           mv /data_gpfs/engageone/active-drive/E-Archive/SystemData/logrotation_test/*.gz /data_gpfs/engageone/active-drive/E-Archive/SystemData/logrotation_test/backup        endscript}Please help me on this. Thank you..
logrotation- rotate and maxage command
logrotate