logrotate with date in filename
Okay, this really is a newbie question...
I want to rotate my logs (using Slackware 9.1 distro, logrotate script) and have the archived logs with the date in the extension. Is this possible? I saw another post that seemed to do something like this, but didn't understand it. If I use the directive
extension $(date %D)
in the global variables of logrotate.conf, will this accomplish what I'm wanting to do?
ptp
|