[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] rotating logs (raq3)



someone said that their RaQ3 isn't rotating logs. I found
the same thing to be true on my system. Looking around, I see
that the cron.daily has what it needs:
    % cat cron.daily/logrotate
    #!/bin/sh

    /usr/sbin/logrotate /etc/logrotate.conf

---
I assume this is sufficient. The logrotate.conf has:

    % cat logrotate.conf
    # rotate log files weekly
    weekly

    # keep 4 weeks worth of backlogs
    rotate 1

    # send errors to root
    errors root

    # create new (empty) log files after rotating old ones
    create

    # uncomment this if you want your log files compressed
    compress

    # Put in a generic size limit so things don't go wild
    size 1M

    # RPM packages drop log rotation information into this directory
    include /etc/logrotate.d

So, the question is, why arne't the logs rotated? My web server
access log is over 70M now.

-- 
	--dan

Photo Gallery:  http://www.danheller.com/