[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] rotating logs (raq3)
- Subject: Re: [cobalt-users] rotating logs (raq3)
- From: Paul Ramsey <pramsey@xxxxxxxxxxxxxxx>
- Date: Tue May 30 16:06:18 2000
In your /etc/logrotate.d directory, are there site1, site2, etc config
files for the sites you want the logs rotated for? If so, do they have
the right info as far as the location and names of your logs?
Dan Heller wrote:
>
> 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/
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users