Changes between Version 5 and Version 6 of LogRotate
- Timestamp:
- Jul 3, 2008, 6:17:40 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LogRotate
v5 v6 1 [[TOC]] 1 2 = Log rotation = 2 3 … … 5 6 Initially you can deal with log files by hand, but eventually you may want an automated solution. Log rotation typically must be done while the project is [StartTool stopped]. 6 7 7 (Note: Eric Myers wrote a detailed page about log rotation, which is [http://www.spy-hill.net/~myers/help/boinc/log_rotation.html here]). 8 8 == Log Compression == 9 9 Here's a shell script (from Nicolas Alvarez) that tars and compresses log files (you'll still need to eventually deal with the compressed files). You can run this script as a periodic task in [ProjectConfigFile config.xml]. 10 10 … … 25 25 }}} 26 26 27 28 == {{{logrotate}}} == 27 29 Other projects use the Linux 'logrotate' program. For example, Predictor@home uses the following logrotate input file (they run this while the project is down for database backups): 28 30 … … 122 124 } 123 125 }}} 126 127 128 129 == See Also == 130 131 * [http://www.spy-hill.net/~myers/help/boinc/log_rotation.html Log Rotation for BOINC projects] (from Eric Myers).