Are the logs in /var/log/ automatically rotated?

Rex Dieter rdieter at math.unl.edu
Mon Feb 27 15:15:39 UTC 2006


Don Bedsole wrote:

> I was wondering if the logs in the /var/log directory 
> (especially /var/log/messages) are automatically deleted after a certain 
> period of time or when the log file gets to a certain size.  Or, is this 
> something that needs to be set up manually by the user using a cron job or 
> something like that? 

Some logs are, some aren't.  For details, examine:
/etc/logrotate.conf
/etc/logrotate.d/

-- Rex




More information about the fedora-list mailing list