Re: clear /var/log/messages

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim wrote:
| any way of clearing out the file or backing it up once a week so you
| could start with a new log ?
|

This should already be happening.
man logrotate
There should be an entry in /etc/cron.daily/ for logrotate to happen
automatically. Check your /etc/logrotate.conf for the mechanism being
used, such a gzip or actual deletion and retention periods, and
/etc/logrotate.d/ for the specific files it's working with.

- --
Andrew Mathews
- ----------------------------------------------------------------
20:58:04 up 2 days Fedora Core release 2 (Tettnang)
- ----------------------------------------------------------------
QOTD:
	Money isn't everything, but at least it keeps the kids in touch.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFB2MQ+Nm+zlJsY50cRAk8+AJsH8E4rNrIWcjsKnd/OW8Ex5OxeaACeNlgP
Kao7f1H8fwRNKJT6uut5bsg=
=W3rN
-----END PGP SIGNATURE-----

All information contained in this email is confidential and may be used by the intended recipient only.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux