[CentOS] Controlling log file sizes
Ian Forde
ian at duckland.orgSat Apr 11 22:14:43 UTC 2009
- Previous message: [CentOS] Controlling log file sizes
- Next message: [CentOS] Is there a way to get these messages in one daily one ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 2009-04-11 at 22:25 +0100, Anne Wilson wrote: > My fetchmail and procmail log files are getting rather large, and there's > really no reason to keep entries for ever. How do others handle this? I know > I could manually delete the older stuff then re-save the file, but it doesn't > seem a good method. Use logrotate - it's built-in. Check the files in /etc/logrotate.d/ for examples, as well as the logrotate man page... -I
- Previous message: [CentOS] Controlling log file sizes
- Next message: [CentOS] Is there a way to get these messages in one daily one ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list