logrotate for logs that change filenames
hi peeps,
Say that a certain server process generates log files and names them according to the current date; e.g.
server.nov-20.2010.log
server.nov-21.2010.log
server.nov-22.2010.log
server.nov-23.2010.log
i'd like to have logrotate compress the logs that are older than 3 days.
Is this possible with logrotate, or do i just schedule a cron job to bzip everything under the folder older than 3 days?
tia
|