[RAS] log rotate in /home/aras/opt on nebka

Ivan Kurmanov duraley at gmail.com
Wed Dec 7 08:32:43 CST 2011


i've modified /home/aras/etc/logrotate.conf to do that, by adding
"dateext" command to each section.

Will have to check if it worked correctly tomorrow.

-ivan

On Tue, Dec 6, 2011 at 7:12 PM, Dan Hayes <dhayes501 at gmail.com> wrote:
> Would it be possible to archive log files by appending the archive date
> before filing instead of using log rotate?  If the date is appended, the
> file never changes again and I can rsync the directory easily.  If the files
> are archived with log rotate, over 3000 files in /home/aras/opt/oldlog get
> renamed and rsync has to copy every file each time.
>
> _______________________________________________
> RAS-run mailing list
> RAS-run at lists.openlib.org
> http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run



More information about the RAS-run mailing list