How to get logrotate to only rotate files 2 days old.
I have a process that will can run at variable times and it generates log files. I would like to use logrotate to archive off old log files, but since the process runs at variable times I do not want logrotate to pull its log file from it. Is it possible for logrotate to only archive off files that are already 2 days old?
|
you can accomplish all kinds of great stuff, including unique configs for specific files in /etc/logrotate.conf
I suggest you search for more info on this file. cheers:) |
All times are GMT -5. The time now is 10:18 AM. |