On Sun, 2005-05-01 at 17:06 -0500, John Mahowald wrote:
lastaction DATE=`date +%F`; mv /var/log/messages.1.gz /var/log/messages-$DATE.gz endscript
Modify to suit your needs.
If I do so, I have to modify each file in /etc/logrotate.d . In this case I prefer a script via cron which renames all logfiles in a loop. It's less work ;)