clear /var/log/messages

Ed Wilts ewilts at ewilts.org
Mon Jan 3 04:03:36 UTC 2005


On Sun, Jan 02, 2005 at 10:55:29PM -0500, Jim wrote:
> any way of clearing out the file or backing it up once a week so you
> could start with a new log ?

It's rotated automatically every Sunday at 4am.  If you don't turn your
computer on regularly, you should run the anacron service to run the
cron jobs that you would otherwise miss.

The rotation of /var/log/messages is controlled by logrotate.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the fedora-list mailing list