[svlug] Complicated logs rotation under cron and date format in Linux/Unix

Marc MERLIN marc_news at valinux.com
Wed Oct 31 00:26:01 PST 2001


On Tue, Oct 30, 2001 at 08:47:12PM -0800, Rafael Skodlar wrote:
> Ever wondered why they rotate empty files?
(...)
> After 4 weeks you can't tell what the boot messages were.

You can have logrotate rotate files based on their size instead of time.

Of course, that requires a little reading and configuration :-)

Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key




More information about the svlug mailing list